Revert "pvpupdate: attackable pvp world levels from 15 to 10 (#2293)"

This reverts commit 17f997a141.
This commit is contained in:
Kyle
2020-01-30 10:04:49 +00:00
committed by GitHub
parent 8563ec6123
commit 22d18954f2
2 changed files with 3 additions and 3 deletions

View File

@@ -70,7 +70,7 @@ public class MiscUtils
if (client.getWorldType().stream().anyMatch(worldType -> worldType == WorldType.PVP || worldType == WorldType.HIGH_RISK))
{
wildernessLevel += 10;
wildernessLevel += 15;
}
return Math.max(0, wildernessLevel);

View File

@@ -72,9 +72,9 @@ public class PvPUtil
{
if (client.getVar(Varbits.IN_WILDERNESS) != 1)
{
return Math.abs(client.getLocalPlayer().getCombatLevel() - player.getCombatLevel()) <= 10;
return Math.abs(client.getLocalPlayer().getCombatLevel() - player.getCombatLevel()) <= 15;
}
wildernessLevel = 10;
wildernessLevel = 15;
}
return Math.abs(client.getLocalPlayer().getCombatLevel() - player.getCombatLevel())
< (getWildernessLevelFrom(client.getLocalPlayer().getWorldLocation()) + wildernessLevel);