From 5a91f4aa6a702388948d551158a2e92a65329834 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 14 十一月 2025 18:52:41 +0800
Subject: [PATCH] 129 【战斗】战斗系统-服务端(buff持续时间增加大回合支持;增加光环buff;优化攻击、治疗计算逻辑,甄宓、曹仁、董白平摊伤害技能支持;优化B427封包支持额外目标;优化dot、持续治疗结算逻辑及通知;)其他: 1. TurnFight 命令支持指定敌方武将阵容测试,直接在主线战斗 2. B424初始化前的血量变更0418通知屏蔽
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerDogz.py | 22 ++++++++--------------
1 files changed, 8 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 5c8f699..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
@@ -608,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