ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
@@ -1470,7 +1470,10 @@ if npcType == IPY_GameWorld.ntElf: # ntElf 定义为人物使用对地持续性技能,并且人物可以移动,则需要ntElf做依托物的情况 # 那么ntElf执行人物的伤害计算和被动触发效果 owner = NPCCommon.GetSummonNPCOwner(IPY_GameWorld.gotPlayer, attacker) # 2018-11-16 Elf 支持主人为NPC # owner = NPCCommon.GetSummonNPCOwner(IPY_GameWorld.gotPlayer, attacker) owner = NPCCommon.GetSummonOwnerDetel(attacker) return attacker if not owner else owner return attacker