From 9bc8c9c3e4b48dab63efbca946713465ee30b4cd Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 17 一月 2024 15:47:31 +0800
Subject: [PATCH] 10019 【砍树】回合战斗(副本回合制NPC支持配置精怪技能、神通技能;增加属性强化治疗215、弱化治疗216;NPC支持触发被动效果;被动效果触发方式增加按回合触发-效果ID5000;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PetControl.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PetControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PetControl.py
index c9a1e62..2c7a221 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PetControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PetControl.py
@@ -187,8 +187,6 @@
 
 def RefurbishPetAttr(curPet):
     ##刷新宠物的属性,仅支持召唤兽,废弃原 IPY_GameWorld.gnotPet
-    if not IsPetNPC(curPet):
-        return
     petOwner = GetPetNPCOwner(curPet)
     if not petOwner:
         return
@@ -220,7 +218,7 @@
             return
         rolePetSkillManager.LearnSkillByID(leSkillID)
         
-    PassiveBuffEffMng.GetPassiveEffManager().RegistPassiveEff(rolePet)
+    #PassiveBuffEffMng.GetPassiveEffManager().RegistPassiveEff(rolePet)
     #rolePet.Sync_PetInfo()
     #rolePet.Sync_SkillList()     
     return

--
Gitblit v1.8.0