fix 0x multiplier
This commit is contained in:
parent
e079438254
commit
dee92fa396
2
main.go
2
main.go
|
@ -740,7 +740,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) {
|
|||
usercandy := checkUserCandy(reactions[0].ID)
|
||||
if !math.Signbit(float64(candyvalue)) && m.Embeds[0].Footer.Text != "candyChaos" {
|
||||
if checkUserCandy(claimer) < maxcandy {
|
||||
if usercandy == 0 {
|
||||
if usercandy <= 0 {
|
||||
multiplier = maxcandy / 100
|
||||
} else {
|
||||
multiplier = maxcandy / usercandy
|
||||
|
|
Loading…
Reference in New Issue