From ae8e857873ba53e55392ab06237cd7b16426d93e Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期日, 25 十一月 2018 17:55:06 +0800 Subject: [PATCH] 4762 【后端】助战机器人AI及伤血; --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_QueenRelics.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_QueenRelics.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_QueenRelics.py index d816e94..48022cf 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_QueenRelics.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_QueenRelics.py @@ -376,6 +376,10 @@ FBCommon.NotifyFBHelp(curPlayer, lineID, fbHelpDict) return +def DoFB_Npc_KillNPC(attacker, curNPC, tick): + __FBNPCOnKilled(curNPC, tick) + return + ##玩家杀死NPC # @param curPlayer:玩家实例 # @param curNPC:当前被杀死的NPC @@ -383,6 +387,10 @@ # @return 返回值无意义 # @remarks 玩家主动离开副本. def DoFB_Player_KillNPC(curPlayer, curNPC, tick): + __FBNPCOnKilled(curNPC, tick) + return + +def __FBNPCOnKilled(curNPC, tick): curNPCID = curNPC.GetNPCID() gameFB = GameWorld.GetGameFB() killNPCCount = gameFB.GetGameFBDictByKey(FBKey_KillNPCCount % curNPCID) + 1 -- Gitblit v1.8.0