From 22f9a92aa213b3a2b691e6718d8a580895e68011 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期三, 05 十一月 2025 11:25:40 +0800
Subject: [PATCH] 16 卡牌服务端(删除无效的旧开服天通知)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py |   23 +++++++++--------------
 1 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py
index b0d3e90..345bf91 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py
@@ -28,7 +28,6 @@
 import PassiveBuffEffMng
 import SkillCommon
 import SkillShell
-import PlayerSuccess
 import DataRecordPack
 import PlayerWeekParty
 import ItemControler
@@ -292,7 +291,6 @@
             if curItem.IsEmpty():
                 GameWorld.DebugLog("神兽有装备未穿戴,无法助战!dogzID=%s,packIndex=%s" % (dogzID, i), playerID)
                 return
-        PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_DogzBattle, 1, [dogzID])
         PlayerWeekParty.AddWeekPartyActionCnt(curPlayer, ChConfig.Def_WPAct_Dogz, dogzID, False)
         
     isFight = True if batteState else False
@@ -301,14 +299,14 @@
     RefreshDogzAttr(curPlayer, True)
     PlayerControl.PlayerControl(curPlayer).RefreshPlayerAttrState()
     
-    if isFight and ipyData.GetHelpBattleNotify():
-        curTime = int(time.time())
-        playerName = curPlayer.GetPlayerName()
-        notifyKey, notifyParamList, notifyCD = ipyData.GetHelpBattleNotify()
-        lastNotifyTime = g_helpBattleNotifyTimeDict.get(dogzID, 0)
-        if curTime - lastNotifyTime >= notifyCD * 60: 
-            PlayerControl.WorldNotify(0, notifyKey, [playerName] + notifyParamList)
-            g_helpBattleNotifyTimeDict[dogzID] = curTime
+    #if isFight and ipyData.GetHelpBattleNotify():
+    #    curTime = int(time.time())
+    #    playerName = curPlayer.GetPlayerName()
+    #    notifyKey, notifyParamList, notifyCD = ipyData.GetHelpBattleNotify()
+    #    lastNotifyTime = g_helpBattleNotifyTimeDict.get(dogzID, 0)
+    #    if curTime - lastNotifyTime >= notifyCD * 60: 
+    #        PlayerControl.WorldNotify(0, notifyKey, [playerName] + notifyParamList)
+    #        g_helpBattleNotifyTimeDict[dogzID] = curTime
     return
 
 
@@ -522,6 +520,7 @@
 
 def RefreshDogzAttr(curPlayer, isUpdateSucc=False):
     ## 刷新神兽属性
+    return
     totalPlusLv = 0 #出战神兽装备总强化等级
     fightPowerEx = 0
     allAttrList = [{} for _ in range(4)]
@@ -607,10 +606,6 @@
     # 技能属性,从Def_CalcAttrFunc_Dogz获取
     skillAttrList = CalcDogzBattleSkillAttr(curPlayer)
     PlayerControl.SetCalcAttrListValue(curPlayer, ChConfig.Def_CalcAttrFunc_DogzBattleSkill, skillAttrList)
-    #成就
-    if isUpdateSucc:
-        PlayerSuccess.ResetSuccessByType(curPlayer, ShareDefine.SuccType_DogzEquipPlus)
-        PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_DogzEquipPlus, totalPlusLv)
     return
 
 def GetFightDogzTotalPlusLv(curPlayer):

--
Gitblit v1.8.0