Revert "pvpupdate: attackable pvp world levels from 15 to 10 (#2293)"
This reverts commit 17f997a141.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user