hxp
2019-01-19 ad46a0c520f5b6e8e432c97bb2416e80a5b6eceb
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerFlashGiftbag.py
@@ -24,6 +24,7 @@
import DataRecordPack
import ItemControler
import IPY_GameWorld
import PlayerWeekParty
import ItemCommon
import GameWorld
import ChConfig
@@ -171,8 +172,9 @@
        orderIpyData = GetFlashGiftbagIDOrderInfoIpyData(giftbagID, appID)
        rmb = 0 if not orderIpyData else int(orderIpyData.GetPayRMBNum())
        PlayerControl.WorldNotify(0, notifyKey, [curPlayer.GetPlayerName(), rmb, giftbagIpyData.GetMainItemID()])
    SyncFlashGiftbagBuyCount(curPlayer, [giftbagID])
    PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_GiftBag, actGiftbagType, False)
    return True
def SyncFlashGiftbagBuyCount(curPlayer, syncIDList=[], giftbagTypeList=[]):