Aran questline fix

Fixed Polearm Booster questline.
This commit is contained in:
ronancpl
2017-11-12 14:27:20 -02:00
parent fd03471ec0
commit 6fbd23f903
29 changed files with 17957 additions and 18252 deletions

View File

@@ -16,7 +16,7 @@ function enter(pi) {
pi.message("The mirror is blank due to all the players currently recalling their memories. Please wait and try again.");
return false;
} else if(pi.isQuestStarted(21302)) { // Third Job
if(pi.getPlayerCount(108010701) > 0 && pi.getPlayerCount(108010702) > 0) {
if(pi.getPlayerCount(108010701) > 0 || pi.getPlayerCount(108010702) > 0) {
pi.message("The mirror is blank due to all the players currently recalling their memories. Please wait and try again.");
return false;
} else {
@@ -29,6 +29,7 @@ function enter(pi) {
return true;
}
} else {
pi.message("You have already passed your test, there is no need to access the mirror again.");
return false;
}
}

View File

@@ -4,8 +4,8 @@ function enter(pi) {
pi.warp(140030000, 1);
return true;
} else {
pi.playerMessage(5, "Something seems to be blocking this portal!");
return false;
pi.playerMessage(5, "Something seems to be blocking this portal!");
return false;
}
}

View File

@@ -24,5 +24,5 @@
function enter(pi) {
pi.talkGuide("You're very close to town. I'll head over there first since I have some things to take care of. You take your time.");
pi.blockPortal();
return true;
return false;
}

View File

@@ -24,9 +24,10 @@
function enter(pi) {
if (pi.getPlayer().getJob().getId() == 2000 && !pi.isQuestCompleted(21014)) {
pi.showInfoText("The town of Rien is to the right. Take the portal on the right and go into town to meet Lilin.");
return false;
} else {
pi.playPortalSound();
pi.warp(140010100, 2);
return true;
}
return true;
}

View File

@@ -25,13 +25,13 @@ function enter(pi) {
if (pi.getPlayer().getJob().getId() == 2000) {
if (pi.isQuestStarted(21015)) {
pi.showInfoText("You must exit to the right in order to find Murupas.");
return;
return false;
} else if (pi.isQuestStarted(21016)) {
pi.showInfoText("You must exit to the right in order to find Murupias.");
return;
return false;
} else if (pi.isQuestStarted(21017)) {
pi.showInfoText("You must exit to the right in order to find MuruMurus.");
return;
return false;
}
}
pi.playPortalSound();