From 9c7acc7f02e130a8b742ec21579fdf5e6640d3cc Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期五, 16 十一月 2018 15:18:59 +0800 Subject: [PATCH] 2683 支持召唤兽-灵类型可继承主人为NPC的完整属性 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py index b4089f6..07d6881 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py +++ b/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 -- Gitblit v1.8.0