From 0494d4903383737139445b11e525a9e2ca583801 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 21 二月 2019 16:47:35 +0800
Subject: [PATCH] 6268 【后端】【1.6.100】增加道具七日巡礼积分和节日巡礼积分支持

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/BossHurtMng.py |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/BossHurtMng.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/BossHurtMng.py
index d4fa441..64ba75e 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/BossHurtMng.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/BossHurtMng.py
@@ -45,6 +45,8 @@
 import DataRecordPack
 import IpyGameDataPY
 import ItemControler
+import CrossRealmPlayer
+import ShareDefine
 import ChConfig
 import FBLogic
 import PlayerVip
@@ -500,9 +502,10 @@
 ## 过天
 def OnDay(curPlayer):
     #清空当天摸boss次数
+    setCrossDict = {}
     PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_WorldBoss_HurtCnt, 0)
     killBossCntLimitDict = IpyGameDataPY.GetFuncEvalCfg('KillBossCntLimit', 2, {})
-    for index,limitCnt in killBossCntLimitDict.items():
+    for index, limitCnt in killBossCntLimitDict.items():
  
         killCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_Boss_KillCnt%index, 0)
         #hasBuyKillCnt = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_Boss_KillCntBuyCnt%index, 0)
@@ -513,8 +516,14 @@
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_Boss_KillCntItemAddCnt % index, 0)
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_Boss_KillCnt % index, 0)
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_Boss_KillCntBuyCnt % index, 0)
+        if index == ShareDefine.Def_Boss_Func_Dogz:
+            setCrossDict.update({ChConfig.Def_PDict_Boss_KillCntItemAddCnt % index:0,
+                                 ChConfig.Def_PDict_Boss_KillCnt % index:0,
+                                 ChConfig.Def_PDict_Boss_KillCntBuyCnt % index:0,
+                                 })
         
     NotifyAttackBossCnt(curPlayer)
+    CrossRealmPlayer.SetCrossPlayerNomalDict(curPlayer, setCrossDict)
     return
 
 ## 登录处理

--
Gitblit v1.8.0