【猫草大作战】-转盘逻辑bug
This commit is contained in:
parent
2aa0ccbd58
commit
1fc341b77b
@ -171,6 +171,7 @@ func (c *CatnipMod) Play(Id int) (int, int, int, []*item.Item, []*item.Item, int
|
|||||||
return 0, 0, 0, nil, nil, 0, fmt.Errorf("game with ID %d does not exist", Id)
|
return 0, 0, 0, nil, nil, 0, fmt.Errorf("game with ID %d does not exist", Id)
|
||||||
}
|
}
|
||||||
Id, Items, Growth, FriendItems := catnipCfg.GetJackpotItem(c.Mul)
|
Id, Items, Growth, FriendItems := catnipCfg.GetJackpotItem(c.Mul)
|
||||||
|
Growth = Growth * c.Mul
|
||||||
if Growth > 0 {
|
if Growth > 0 {
|
||||||
c.Growth(Id, Growth)
|
c.Growth(Id, Growth)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user