ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Pet_Attack_SummonNPC.py
@@ -26,6 +26,7 @@
import PetControl
import SkillShell
import GameObj
import TurnAttack
#---------------------------------------------------------------------
#---------------------------------------------------------------------
@@ -121,7 +122,7 @@
    #获取防守方召唤兽的主人
    curTagPlayer = NPCCommon.GetSummonNPCOwner(IPY_GameWorld.gotPlayer, curTagSummon)
    #攻击的是玩家的召唤兽
    if curTagPlayer != None and curTagPlayer.GetHP() > 0:
    if curTagPlayer != None and GameObj.GetHP(curTagPlayer) > 0:
        #进入战斗状态
        AttackCommon.SetPlayerBattleState(curTagPlayer, tick)
        #获取召唤兽的主人
@@ -133,6 +134,8 @@
    
    #防守方召唤兽死亡
    if GameObj.GetHP(curTagSummon) <= 0:
        if TurnAttack.SetKilled(curTagSummon):
            return
        curTagSummonNPCControl = NPCCommon.NPCControl(curTagSummon)
        #召唤兽死亡
        curTagSummonNPCControl.SetKilled()