ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/NormalNPC_Attack_Pet.py
@@ -108,12 +108,12 @@ def AttackResult(curNormalNPC, curTagPet, skill, tick): curTagPlayer = PetControl.GetPetOwner(curTagPet) # 宠物主人 if curTagPlayer != None and curTagPlayer.GetHP() > 0: if curTagPlayer != None and GameObj.GetHP(curTagPlayer) > 0: #进入战斗状态 AttackCommon.SetPlayerBattleState(curTagPlayer, tick) #宠物死亡 if curTagPet.GetHP() <= 0: if GameObj.GetHP(curTagPet) <= 0: curTagPetNPCControl = NPCCommon.NPCControl(curTagPet) curTagPetNPCControl.SetKilled()