hxp
2022-03-23 a7bd2045e99da9faa23aa2296e5b161cffc2194f
9415 【BT】【后端】古神战场(击杀守卫增加个人积分)
1个文件已修改
6 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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])