ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/SummonNPC_Attack_Pet.py
@@ -26,6 +26,7 @@
import PlayerControl
import PetControl
import SkillShell
import GameObj
#---------------------------------------------------------------------
#---------------------------------------------------------------------
@@ -126,7 +127,7 @@
    #获取召唤兽的主人
    curPlayer = NPCCommon.GetSummonNPCOwner(IPY_GameWorld.gotPlayer, curSummonNPC)
    
    if curTagPlayer != None and curTagPlayer.GetHP() > 0:
    if curTagPlayer != None and GameObj.GetHP(curTagPlayer) > 0:
        #进入战斗状态
        AttackCommon.SetPlayerBattleState(curTagPlayer, tick)
        
@@ -135,7 +136,7 @@
            AttackCommon.OnPlayerHitPlayer(curPlayer, curTagPlayer, tick)
    
    #宠物死亡
    if curTagPet.GetHP() <= 0:
    if GameObj.GetHP(curTagPet) <= 0:
        curTagPetNPCControl = NPCCommon.NPCControl(curTagPet)
        curTagPetNPCControl.SetKilled()