From a27c44850b192b8a7beecee9bbc45ad0017fa65c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 19 十月 2020 17:29:56 +0800
Subject: [PATCH] 1111 【主干】# A3 BF 通知客户端炼丹炉信息 #tagMCPlayerStoveMsg封包炼丹个数BYTE改WORD

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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_1304.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_1304.py
index b8d101d..c90c74b 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_1304.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_1304.py
@@ -15,7 +15,7 @@
 
 import GameWorld
 import ChConfig
-
+import BaseAttack
 
 
 ## buff线性增加属性
@@ -40,5 +40,8 @@
 
 
 def CalcBuffValue(attacker, defender, curSkill, changeBuffValueDict):
-    return [GameWorld.GetGameWorld().GetTick()]
+    # 被动1304赋值
+    cnt = attacker.GetDictByKey("1304HitCnt")
+    attacker.SetDict("1304HitCnt", 0)
+    return [cnt]
 

--
Gitblit v1.8.0