hxp
2025-08-25 912176de9ed5b45e5fe0edbb15b8796f54c56ba2
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillCommon.py
@@ -1283,8 +1283,6 @@
            AttackCommon.OnPVPDamage(attackerOwner, lostValue, curObj, "SkillLostHP")
        elif curObjType == IPY_GameWorld.gotNPC:
            AttackCommon.NPCAddObjInHurtList(attackerOwner, curObj, curObjHP_BeforeAttack, lostValue)
    #TurnAttack.AddTurnObjHurtValue(buffOwner, curObj, lostValue, lostHP, curSkill)
    
    #统一调用攻击结束动作
    if isDoAttackResult:
@@ -1850,6 +1848,10 @@
    #0通哟  1 PVP类型  2PVE类型  
    return curSkill.GetHurtType() % 10
def isDamageShieldSkill(skillData):
    ## 是否承伤盾技能
    return skillData.GetAtkType() == ChConfig.BuffAtkType_DamageShield
def isAngerSkill(curSkill):
    ## 是否怒气技能
    return curSkill and curSkill.GetFuncType() == ChConfig.Def_SkillFuncType_AngerSkill
@@ -2075,12 +2077,12 @@
        cureBaseValue = GetCureBaseValue(userObj, curSkill)
    elif cureType == ChConfig.Def_Cure_MaxHP:
        cureBaseValue = GameObj.GetMaxHP(userObj)
    elif cureType == ChConfig.Def_Cure_PNE:
        cureBaseValue = userObj.GetPNE()
        addPer = curSkill.GetEffect(0).GetEffectValue(2)/float(ChConfig.Def_MaxRateValue)
        addExValue = GetCureBaseValue(userObj, curSkill)*addPer
    elif cureType == ChConfig.Def_Cure_PHY:
        cureBaseValue = GameObj.GetMaxHP(userObj)
    #elif cureType == ChConfig.Def_Cure_PNE:
    #    cureBaseValue = userObj.GetPNE()
    #    addPer = curSkill.GetEffect(0).GetEffectValue(2)/float(ChConfig.Def_MaxRateValue)
    #    addExValue = GetCureBaseValue(userObj, curSkill)*addPer
    #elif cureType == ChConfig.Def_Cure_PHY:
    #    cureBaseValue = GameObj.GetMaxHP(userObj)
    elif cureType == ChConfig.Def_Cure_HurtValue:
        cureBaseValue = GameObj.GetLastHurtValue(userObj)
    elif cureType == ChConfig.Def_Cure_TagMaxHP: