Leaving the fight caves now also clears poison, disease and restores run energy (QoL fix)

This commit is contained in:
Player Name
2023-10-20 07:09:43 +00:00
committed by Ryan
parent 48e09a3f8a
commit b640ab7373
@@ -148,6 +148,10 @@ public final class TzhaarFightCavesPlugin extends ActivityPlugin {
activeNPCs.clear(); activeNPCs.clear();
player.getProperties().setTeleportLocation(getSpawnLocation()); player.getProperties().setTeleportLocation(getSpawnLocation());
player.getSkills().restore(); player.getSkills().restore();
player.timers.removeTimer("poison");
player.timers.removeTimer("disease");
player.timers.removeTimer("teleblock");
player.getSettings().updateRunEnergy(-100);
boolean practice = player.getAttribute("fc_practice_jad", false); boolean practice = player.getAttribute("fc_practice_jad", false);
if (wave == 63) { if (wave == 63) {
if (!practice) { if (!practice) {