猜颜色优化

This commit is contained in:
hahwu 2025-03-26 16:59:48 +08:00
parent 3d697cadfc
commit 5e4012965d

View File

@ -91,7 +91,9 @@ func (g *GuessColorMod) Take(Map map[int32]int32, OMap map[int32]int32) {
}
func (g *GuessColorMod) GetLoseItem() []*item.Item {
return guesscolorCfg.GetLoseItem(g.Id)
Items := guesscolorCfg.GetLoseItem(g.Id)
Num := guesscolorCfg.GetPassNum(g.Pass)
return item.MutilItem(Items, Num)
}
func (g *GuessColorMod) GetReward() ([]*item.Item, error) {