From c6f9199f9b6fbb8cda4585fa074357c57c61f5f5 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 28 八月 2019 20:39:25 +0800
Subject: [PATCH] 0312 解析信息异常也发送邮件

---
 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