ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
@@ -579,6 +579,18 @@ return True def IsNPCSkillResist(curNPC): ## NPC是否技能抵抗,对应技能表中伤害类型HurtType为3的技能,即对boss无效的技能 if curNPC.GetCurAction() == IPY_GameWorld.laNPCSkillWarning: #GameWorld.DebugLog("预警状态下默认抵抗") return True bossIpyData = IpyGameDataPY.GetIpyGameDataNotLog("BOSSInfo", curNPC.GetNPCID()) if bossIpyData and bossIpyData.GetSkillResist(): return True return False ##是否召唤兽对主人使用技能 # @param curNPC NPC实例