xdh
2018-11-19 17c0a15c9b306ab2fb7576ca99adbdf8e4e8285e
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