棋子商店优化
This commit is contained in:
parent
3f28a4852f
commit
1697536614
@ -314,6 +314,7 @@ func (c *ChargeMod) InitChessShop(Emit []int) {
|
|||||||
if ColorType == mergeDataCfg.CHESS_PRODUCT_SECONDARY_TYPE {
|
if ColorType == mergeDataCfg.CHESS_PRODUCT_SECONDARY_TYPE {
|
||||||
Diamond *= 2
|
Diamond *= 2
|
||||||
}
|
}
|
||||||
|
Diamond = max(1, Diamond)
|
||||||
RandList = append(RandList, &Rand{ChessId: c, Diamond: Diamond})
|
RandList = append(RandList, &Rand{ChessId: c, Diamond: Diamond})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user