| | |
| | | import ChEquip
|
| | | import GameWorld
|
| | | import EventShell
|
| | | import SkillShell
|
| | | import FBLogic
|
| | | import GameObj
|
| | | import NPCCommon
|
| | | import ChNPC
|
| | |
| | | else:
|
| | | #通知玩家
|
| | | if curTagPlayer.GetMapID() != ChConfig.Def_FBMapID_XMZZ:
|
| | | PlayerControl.NotifyCode(curTagPlayer, 'GeRen_chenxin_279029', [curNormalNPC.GetNPCID()])
|
| | | if curNormalNPC.GetType() == ChConfig.ntRobot:
|
| | | PlayerControl.NotifyCode(curTagPlayer, 'RobotKill_1', [curNormalNPC.GetID(), curNormalNPC.GetNPCID()])
|
| | | else:
|
| | | PlayerControl.NotifyCode(curTagPlayer, 'GeRen_chenxin_279029', [curNormalNPC.GetNPCID()])
|
| | | #玩家已经死亡
|
| | | playerControl = PlayerControl.PlayerControl(curTagPlayer)
|
| | | playerControl.SetDead()
|
| | | |
| | | FBLogic.DoFBOnNPCKill_Player(curNormalNPC, curTagPlayer, tick)
|
| | | #触发玩家死亡事件
|
| | | EventShell.EventRespons_PlayerEvent(curTagPlayer, "player_dead")
|
| | | return True
|