hch
2019-05-11 885772e34137afba56a4ca8583b62a6f20c2c137
860312 防范时间掉血 人数为0问题
1个文件已修改
4 ■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
@@ -1831,7 +1831,9 @@
            if fightPowerMin:          
                seePlayer = GameWorld.GetObj(seeObj.GetID(), seeObjType)
                fightPowerTotal += (0 if not seePlayer else seePlayer.GetFightPower())
        effPlayerCount = max(effPlayerCount, 1)
        effFightPower = int(fightPowerTotal / effPlayerCount)
        if fightPowerMax and effFightPower > fightPowerMax:
            effFightPower = fightPowerMax