hxp
2023-12-28 8e25bc7b9ca60ea789374fa70e0ddae4a5adc79a
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFlashGiftbag.py
@@ -27,6 +27,7 @@
import GameWorld
import ChConfig
import CommFunc
import PlayerCoin
def GetGiftbagTypeList(cfgID, dayIndex, woldLV):
@@ -165,7 +166,7 @@
        if buyCountLimit:
            addDRDict.update({"buyCountLimit":buyCountLimit, "buyCount":buyCount})
            if buyCount >= buyCountLimit:
                DataRecordPack.DR_CTGError(curPlayer, "FlashGiftbag Pay count limit !buyCount=%s,buyCountLimit=%s"
                PlayerCoin.ExchangePayCoin(curPlayer, "FlashGiftbag Pay count limit !buyCount=%s,buyCountLimit=%s"
                                           % (buyCount, buyCountLimit), addDRDict)
                return
        PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FlashGiftbagBuyCount % (actNum, giftbagID), buyCount + 1)