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