| | |
| | | import IpyGameDataPY
|
| | | import NPCCommon
|
| | | import EventReport
|
| | | import EventShell
|
| | | import PassiveBuffEffMng
|
| | | import PlayerFamilyRedPacket
|
| | | import GameFuncComm
|
| | |
| | | record = record|(1 << vipLV)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_VipAwardRecord, record)
|
| | |
|
| | | EventShell.EventResponse_BuyVIPItem(curPlayer, vipLV)
|
| | | GameWorld.DebugLog("vip礼包-%s" % itemList)
|
| | | for itemid, cnt, isBind in itemList:
|
| | | ItemControler.GivePlayerItem(curPlayer, int(itemid), int(cnt), 0, [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere],
|
| | |
| | | # @param curPlayer 玩家
|
| | | # @return None
|
| | | def OnChangeVIPLv(curPlayer, vipLV):
|
| | | #vip等级改变触发任务
|
| | | EventShell.EventResponse_OnVipLvUp(curPlayer, vipLV)
|
| | | |
| | | CheckVIPDienstgrad(curPlayer)
|
| | |
|
| | | #删除VIP体验卡物品
|