棋子商店优化

This commit is contained in:
hahwu 2025-09-11 20:37:16 +08:00
parent c3da735fe3
commit a3665587e4

View File

@ -314,6 +314,7 @@ func (c *ChargeMod) InitChessShop(Emit []int) {
if ColorType == mergeDataCfg.CHESS_PRODUCT_SECONDARY_TYPE {
Diamond *= 2
}
Diamond = max(1, Diamond)
RandList = append(RandList, &Rand{ChessId: c, Diamond: Diamond})
}
}