hch
2018-11-16 9c7acc7f02e130a8b742ec21579fdf5e6640d3cc
2683 支持召唤兽-灵类型可继承主人为NPC的完整属性
1个文件已修改
5 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py 5 ●●●● 补丁 | 查看 | 原始文档 | 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