From c35e176a3b05f745600c6e60f168313d2b9e7b30 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 17 九月 2025 12:00:19 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(司马懿技能;增加按层级结算持续buff效果5003;增加非按攻击力计算伤害支持;技能伤害增加可限制最大攻击力百分比上限配置;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 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..b4f163d 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py @@ -301,14 +301,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 +522,7 @@ def RefreshDogzAttr(curPlayer, isUpdateSucc=False): ## 刷新神兽属性 + return totalPlusLv = 0 #出战神兽装备总强化等级 fightPowerEx = 0 allAttrList = [{} for _ in range(4)] -- Gitblit v1.8.0