aboutsummaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/xp.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/user/xp.go b/user/xp.go
index feb9cf7..606598c 100644
--- a/user/xp.go
+++ b/user/xp.go
@@ -94,6 +94,9 @@ func (c *Copaing) GetBoost(m *discordgo.Member) float64 {
boost = max(boost, r.Boost)
}
}
+ if m.User.PrimaryGuild.GuildID == c.GuildID {
+ boost = max(boost, 1.5)
+ }
return boost
}