| | |
| | | # @param curNPC 当前NPC
|
| | | # @return None
|
| | | # @remarks 清空NPC伤血列表, 并清空玩家Loading进度条状态
|
| | | def ClearPlayerPreparing(curNPC, srcPlayer=None):
|
| | | def ClearPlayerPreparing(curNPC, srcPlayer=None, notifyKey=""):
|
| | | curNPC_HurtList = curNPC.GetPlayerHurtList()
|
| | | for i in range(curNPC_HurtList.GetHurtCount()):
|
| | | hurtValue = curNPC_HurtList.GetHurtAt(i)
|
| | |
| | |
|
| | | #设置空闲状态
|
| | | PlayerControl.ChangePlayerAction(curPlayer, IPY_GameWorld.paNull)
|
| | | |
| | | if notifyKey:
|
| | | PlayerControl.NotifyCode(curPlayer, notifyKey, [curNPC.GetNPCID()])
|
| | | |
| | | #清空这个NPC的伤血列表
|
| | | curNPC_HurtList.Clear()
|
| | |
|