| | |
| | | return
|
| | |
|
| | | curPlayer.SetActionObj(curNPC)
|
| | | |
| | | if curNPC.GetNPCID() in ReadChConfig.GetEvalChConfig("CollectNPCLostHP"):
|
| | | curPlayer.SetDict(ChConfig.Def_PlayerKey_CollectLostHPTick, tick)
|
| | | |
| | | prepareTime = FBLogic.GetFBPrepareTime(curPlayer, curNPC)
|
| | |
|
| | | collTimeReduceRate = PlayerVip.GetPrivilegeValue(curPlayer, ChConfig.VIPPrivilege_CollTimeReduceRate)
|
| | |
| | | giveItem.Clear()
|
| | | continue
|
| | |
|
| | | #---初始化装备显隐---
|
| | | curPlayer.SetEquipShowSwitch(IPY_GameWorld.revClothesCoat|IPY_GameWorld.revWeaponCoat|IPY_GameWorld.revMask)
|
| | | #---初始化装备显隐---前端自己设置
|
| | | #curPlayer.SetEquipShowSwitch(IPY_GameWorld.revClothesCoat|IPY_GameWorld.revWeaponCoat|IPY_GameWorld.revMask)
|
| | |
|
| | | #默认触发一次功能开启
|
| | | if curPlayer.GetLV() == 1:
|
| | |
| | | curPlayer.SetForbiddenResetItem(0)
|
| | | ExitCompose(curPlayer)
|
| | | ExitWarehouse(curPlayer)
|
| | | ExitRepair(curPlayer)
|
| | | #ExitRepair(curPlayer)
|
| | | ExitCreateFamily(curPlayer)
|
| | | ExitBillboard(curPlayer)
|
| | | #ExitEventLock(curPlayer)
|
| | |
| | | #npc商店退出
|
| | | ExitNPCShop(curPlayer)
|
| | |
|
| | | PlayerTrade.LeaveTrade(curPlayer, 0)
|
| | | #PlayerTrade.LeaveTrade(curPlayer, 0)
|
| | | # 清除py自定义状态
|
| | | ClearPyPlayerAction(curPlayer)
|
| | | #ClearPyPlayerAction(curPlayer)
|
| | |
|
| | | #调用底层结束事件
|
| | | #避免策划变更,导致其他退出锁定事件使任务1未接取就退出锁定
|