From 209a1fb4415b46739be6bef5432cf6caddb91931 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 13 九月 2024 18:23:33 +0800
Subject: [PATCH] 10261 【越南】【砍树】【英文】仙盟徽章、头像、头像框(存储激活状态及到期时间方式修改;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_4.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_4.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_4.py
index 79082d4..6795d66 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_4.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameSkills/SkillModule_4.py
@@ -20,6 +20,8 @@
 import BaseAttack
 import ChConfig
 import IPY_GameWorld
+import ShareDefine
+import GameObj
 
 ##降低仇恨
 # @param attacker 攻击者实例
@@ -58,7 +60,8 @@
         
         #施法者,清空仇恨值
         if attackerID == angryID and attackerType == angryType:
-            angryTag.SetAngryValue(int(angryTag.GetAngryValue()*skillPer))
+            updAngryValue = int(GameObj.GetAngryValue(angryTag) * skillPer)
+            GameObj.SetAngryValue(angryTag, updAngryValue)
             break
     
     #处理技能触发和攻击成功逻辑

--
Gitblit v1.8.0