Leaving the fight caves now also clears poison, disease and restores run energy (QoL fix)
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user