Fixed blessing of graves belonging to ironmen

Fixed POH teleport issue
Fixed charter requirements
Fixed entrana weapon check bypass
Small authenticity improvements
This commit is contained in:
Player Name
2024-10-06 11:14:56 +00:00
committed by Ryan
parent 4799176c14
commit b2f7f86d6a
9 changed files with 63 additions and 23 deletions
@@ -106,6 +106,12 @@ class GraveController : PersistWorld, TickListener, InteractionListener, Command
return true
}
val gOwner = Repository.uid_map[g.ownerUid]
if (gOwner != null && gOwner.ironmanManager.isIronman) {
sendMessage(player, "This grave belongs to an Ironman.")
return true
}
if (getStatLevel(player, Skills.PRAYER) < 70) {
sendMessage(player, "You need a Prayer level of 70 to bless a grave.")
return true
@@ -125,7 +131,6 @@ class GraveController : PersistWorld, TickListener, InteractionListener, Command
playAudio(player, Sounds.PRAYER_RECHARGE_2674)
animate(player, 645)
val gOwner = Repository.uid_map[g.ownerUid]
if (gOwner != null) {
sendMessage(gOwner, colorize("%RYour grave has been blessed."))
}
@@ -290,4 +295,4 @@ class GraveController : PersistWorld, TickListener, InteractionListener, Command
}
}
}
}
}