卡牌优化
This commit is contained in:
parent
b0d74c0e60
commit
774c2a6a08
@ -302,8 +302,9 @@ func (c *CardMod) AllCollectReward() ([]*item.Item, []*item.Item, error) {
|
||||
for k, v := range c.CardList {
|
||||
star := cardCfg.GetStarById(k)
|
||||
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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user