棋子商店优化
This commit is contained in:
parent
a3665587e4
commit
05dd4e3ab7
@ -311,10 +311,10 @@ func (c *ChargeMod) InitChessShop(Emit []int) {
|
||||
if ColorType == mergeDataCfg.CHESS_PRODUCT_SUB_TYPE {
|
||||
Diamond = int(math.Pow(2, float64(ChessLv-1))/2.5 + 6.4)
|
||||
}
|
||||
Diamond = max(1, Diamond)
|
||||
if ColorType == mergeDataCfg.CHESS_PRODUCT_SECONDARY_TYPE {
|
||||
Diamond *= 2
|
||||
}
|
||||
Diamond = max(1, Diamond)
|
||||
RandList = append(RandList, &Rand{ChessId: c, Diamond: Diamond})
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user