From d78bf600d831d627220d942b8dc0e9fb3944f5c7 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 01 七月 2022 11:46:32 +0800
Subject: [PATCH] 1111 【主干】【bt7】【yn_1.0.1】【yn_ver1】 法宝挑战、天星塔副本玩家退出或掉线均关闭副本(断线重连也要重新进入);

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_809.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_809.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_809.py
index d5470fe..b38a378 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_809.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_809.py
@@ -14,9 +14,10 @@
 #---------------------------------------------------------------------
 
 import SkillCommon
+import GameObj
 
 def OnBuffDisappear(curObj, curSkill, curBuff, curEffect, tick):
-    if curObj.GetHP() <= 0:
+    if GameObj.GetHP(curObj) <= 0:
         return
     
     value = curBuff.GetValue()

--
Gitblit v1.8.0