Improved the gameplay around the Mushroom Castle region. Solved an issue with HP threshold on MoveLifeHandler. Fixed Body Pressure being refreshed every time it hits a mob.
12 lines
367 B
JavaScript
12 lines
367 B
JavaScript
function enter(pi) {
|
|
if (pi.isQuestActive(2324)) {
|
|
var player = pi.getPlayer();
|
|
player.gainExp(3300 * player.getExpRate());
|
|
|
|
pi.forceCompleteQuest(2324);
|
|
pi.removeAll(2430015);
|
|
pi.playerMessage(5, "You have used the Thorn Remover to clear the path.");
|
|
}
|
|
pi.playPortalSound(); pi.warp(106020501,0);
|
|
return true;
|
|
} |