From b1daad2394ff6f0322696df50fcc53236f4ea9b1 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 16 七月 2024 17:11:39 +0800
Subject: [PATCH] 10215 10213 【越南】【主干】【港台】【砍树】古宝升星效果与古宝共鸣(增加古宝星级属性;增加古宝共鸣;增加boss最终伤害属性;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Pet_Attack_SummonNPC.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Pet_Attack_SummonNPC.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Pet_Attack_SummonNPC.py
index 86bcd47..45531eb 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/Pet_Attack_SummonNPC.py
+++ b/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
 #---------------------------------------------------------------------
 
 #---------------------------------------------------------------------
@@ -133,6 +134,8 @@
     
     #防守方召唤兽死亡
     if GameObj.GetHP(curTagSummon) <= 0:
+        if TurnAttack.SetKilled(curTagSummon):
+            return
         curTagSummonNPCControl = NPCCommon.NPCControl(curTagSummon)
         #召唤兽死亡
         curTagSummonNPCControl.SetKilled()

--
Gitblit v1.8.0