8380 【主干】【后端】优化境界压制(改为大境界压制时伤害才为1)
1个文件已修改
7 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/AttackLogic/AttackCommon.py
@@ -2006,9 +2006,14 @@
    aRealmLV, dRealmLV = GetPVERealmLVs(atkObj, defObj, atkObjType, defObjType) # 获取境界
    if defObjType == IPY_GameWorld.gotNPC and ChConfig.IsGameBoss(defObj) and dRealmLV > aRealmLV:
        aRealmIpyData = IpyGameDataPY.GetIpyGameDataNotLog("Realm", aRealmLV)
        dRealmIpyData = IpyGameDataPY.GetIpyGameDataNotLog("Realm", dRealmLV)
        aRealmLVLarge = aRealmIpyData.GetLvLarge() if aRealmIpyData else 0
        dRealmLVLarge = dRealmIpyData.GetLvLarge() if dRealmIpyData else 0
        if dRealmLVLarge > aRealmLVLarge:
        if atkObjType == IPY_GameWorld.gotPlayer:
            GameWorld.DebugLog("BossRealmHint%s-%s"%(dRealmLV, aRealmLV))
            PlayerControl.NotifyCode(atkObj, 'BossRealmHint', [dRealmLV])
                PlayerControl.NotifyCode(atkObj, 'BossRealmHint', [dRealmLVLarge])
            
        # 攻击高境界的BOSS 伤害固定为1
        return 1, ChConfig.Def_HurtType_Normal