From a7bd2045e99da9faa23aa2296e5b161cffc2194f Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期一, 23 五月 2022 17:00:19 +0800 Subject: [PATCH] 9415 【BT】【后端】古神战场(击杀守卫增加个人积分) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py index ec7f049..8a459ec 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py @@ -79,7 +79,8 @@ ScoreType_HurtBoss, # 对boss造成伤害 5 ScoreType_Aura, # 积分光环 6 ScoreType_Wall, # 积分墙 7 -) = range(8) +ScoreType_KillGuard, # 击杀守卫 8 +) = range(9) ## 战场公共世界管理类 class BattleWorld(): @@ -2055,9 +2056,10 @@ tagFaction = curPlayer.GetFaction() if guardFaction == tagFaction: return - + guardKillGuardScore = IpyGameDataPY.GetFuncCfg("CrossBattlefieldGuard2", 1) battleObj = GetBattlePlayerObj(playerID) battleObj.killGuardCnt += 1 + battleObj.addPlayerScore(curPlayer, guardKillGuardScore, ScoreType_KillGuard) PlayerControl.FBFactionNotify(curPlayer.GetFaction(), "CrossBattlefieldKillGuardSelf", [battleObj.name], "CrossBattlefieldKillGuardOther", [battleObj.name]) -- Gitblit v1.8.0