卡牌优化

This commit is contained in:
hahwu 2025-03-26 16:43:27 +08:00
parent 0b64edf79a
commit 6402dedefa

View File

@ -304,7 +304,7 @@ func (c *CardMod) AllCollectReward() ([]*item.Item, []*item.Item, error) {
ExStar += star * (v - 1)
c.CardList[k] = v - 1
}
// c.CardList = make(map[int]int)
c.CardList = make(map[int]int)
c.ExchangeStar += ExStar
c.Cache.ExStar += ExStar
Item := cardCfg.GetAllCollectReward()