Remove another check preventing Ancient magick teleport spells from working in the wilderness for non-admins.

This commit is contained in:
randy 2025-08-15 11:41:12 -06:00
parent 6e91725d58
commit 06055c0ff8

View file

@ -233,6 +233,10 @@ public final class WildernessZone extends MapZone {
if (p.getDetails().getRights() == Rights.ADMINISTRATOR) {
return true;
}
// Snowscape: one of the checks needed to allow Ancient spells to work deeper in the wilderness.
if (type == 0 && p.getSpellBookManager().getSpellBook() == 193 && checkTeleport(p, 48)) {
return true;
}
if (!checkTeleport(p, (node != null && node instanceof Item && (((Item) node).getName().contains("glory") || ((Item) node).getName().contains("slaying")) ? 30 : 20))) {
return false;
}