【猫草大作战】-转盘逻辑bug

This commit is contained in:
hahwu 2025-12-10 10:23:56 +08:00
parent 2aa0ccbd58
commit 1fc341b77b

View File

@ -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)
} }