forked from 2009Scape/Server
Leaving the fight caves now also clears poison, disease and restores run energy (QoL fix)
This commit is contained in:
parent
48e09a3f8a
commit
b640ab7373
1 changed files with 4 additions and 0 deletions
|
|
@ -148,6 +148,10 @@ public final class TzhaarFightCavesPlugin extends ActivityPlugin {
|
|||
activeNPCs.clear();
|
||||
player.getProperties().setTeleportLocation(getSpawnLocation());
|
||||
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);
|
||||
if (wave == 63) {
|
||||
if (!practice) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue