@@ -3710,7 +3710,9 @@ func (this *Role) payInfoGet(goodsType, goodsId, count int32, rushStage, rushRou
if num > 0 {
cfgData, ok := serverproto.ItemCfgLoader[1]
if ok {
- payRewardInfo.Amount -= float32(cfgData.NatureType)
+ if (payRewardInfo.Amount - float32(cfgData.NatureType)) <= 0 {
+ payRewardInfo.Amount = 0
+ }
}
this.roleBag.DelItemById(1, 1, AddFrom_System)