9415 【BT】【后端】古神战场(阵营buff对机器人有效; 修复黑夜降临掉血buff击杀对方时地图报错bug)
2个文件已修改
9 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/BuffProcess_1089.py 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py
@@ -2012,6 +2012,13 @@
        if not player:
            continue
        SkillShell.__DoLogic_AddBuff(curPlayer, player, buffSkill, False, tick, addForce=True)
    for robotID in factionObj.robotObjIDList:
        robotNPC = GameWorld.GetObj(robotID, IPY_GameWorld.gotNPC)
        if not robotNPC:
            continue
        SkillShell.__DoLogic_AddBuff(curPlayer, robotNPC, buffSkill, False, tick, addForce=True)
    return
def __OnCollectOK_EventWall(curPlayer, curNPC, tick):
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/BuffProcess_1089.py
@@ -55,6 +55,8 @@
            return
        if buffOwner.GetGameObjType() != IPY_GameWorld.gotPlayer:
            return
        if not defender or not defender.GetID() or GameObj.GetHP(defender) <= 0:
            return
        # 执行次数。 当汲灵对目标造成3次伤害时,可降低目标20%的防御
        curBuff.SetValue1(curBuff.GetValue1() + 1)
        tick = GameWorld.GetGameWorld().GetTick()