Reformat and clean up portal scripts
This commit is contained in:
@@ -24,11 +24,12 @@
|
||||
* @purpose Warps to the Junior Balrog map for the Rush Skill.
|
||||
*/
|
||||
function enter(pi) {
|
||||
if(pi.isQuestStarted(6242)) {
|
||||
if(pi.getWarpMap(921100210).countPlayers() == 0) {
|
||||
if (pi.isQuestStarted(6242)) {
|
||||
if (pi.getWarpMap(921100210).countPlayers() == 0) {
|
||||
pi.resetMapObjects(921100210);
|
||||
pi.playPortalSound(); pi.warp(921100210, 0);
|
||||
|
||||
pi.playPortalSound();
|
||||
pi.warp(921100210, 0);
|
||||
|
||||
return true;
|
||||
} else {
|
||||
pi.getPlayer().message("Some other player is currently inside.");
|
||||
|
||||
Reference in New Issue
Block a user