hxp
2018-11-06 369e52f7a7b980c882ca322615b1995796fe9223
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/NPC/NPCAI/AICommon.py
@@ -519,9 +519,10 @@
# @return 布尔值
def CheckSkillTrigger(curNPC, triggerDict, npcSkillindex, tick):
    skillInfo = triggerDict.get(npcSkillindex)
    if skillInfo != None:
        #当前血量
        hpPercent = int(curNPC.GetHP()/float(GameObj.GetMaxHP(curNPC))*100)
        hpPercent = int(GameObj.GetHP(curNPC)/float(GameObj.GetMaxHP(curNPC))*100)
        checkHP = skillInfo[0]
        
        #血量未到