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

@@ -25,8 +25,8 @@ function action(mode, type, selection) {
} else if (status == 1) {
cm.sendNextPrev("#b(The Black Wings? Huh? Who are they? And how is all this related to the Black Mage? Hm, maybe you should report this info to Tru.)#k", 3);
} else if (status == 2) {
cm.startQuest(21760);
cm.warp(105040200, 3);//104000004
cm.completeQuest(21719);
cm.warp(105040200, 10);//104000004
cm.dispose();
}
}

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();

View File

@@ -81,20 +81,21 @@ function end(mode, type, selection) {
qm.sendNext("We've been digging and digging inside the Ice Cave in the hope of finding a hero, but I never thought I'd actually see the day... The prophecy was true! You were right, #p1201000#! Now that one of the legendary heroes has returned, we have no reason to fear the Black Mage!");
}
} else if (status == 1) {
qm.sendNextPrev("Oh, I've kept you too long. I'm sorry, I got a little carried away. I'm sure the other Penguins feel the same way. I know you're busy, but could you #bstop and talk to the other Penguins#k on your way to town? They would be so honored.\r\n\r\n#fUI/UIWindow.img/QuestIcon/4/0# \r\n#i2000022# 5 #t2000022#\r\n#i2000023# 5 #t2000023#\r\n\r\n#fUI/UIWindow.img/QuestIcon/8/0# 16 exp");
qm.sendOk("Oh, I've kept you too long. I'm sorry, I got a little carried away. I'm sure the other Penguins feel the same way. I know you're busy, but could you #bstop and talk to the other Penguins#k on your way to town? They would be so honored.\r\n\r\n#fUI/UIWindow.img/QuestIcon/4/0# \r\n#i2000022# 5 #t2000022#\r\n#i2000023# 5 #t2000023#\r\n\r\n#fUI/UIWindow.img/QuestIcon/8/0# 16 exp");
} else if (status == 2) {
if(qm.isQuestStarted(21010) && !qm.isQuestCompleted(21010)) {
qm.gainExp(16);
qm.gainItem(2000022, 3);
qm.gainItem(2000023, 3);
qm.forceCompleteQuest();
}
qm.sendNextPrev("Oh, you've leveled up! You may have even received some skill points. In Maple World, you can acquire 3 skill points every time you level up. Press the #bK key #kto view the Skill window.", 9);
qm.forceCompleteQuest();
}
qm.sendNext("Oh, you've leveled up! You may have even received some skill points. In Maple World, you can acquire 3 skill points every time you level up. Press the #bK key #kto view the Skill window.", 9);
} else if (status == 3) {
qm.sendNextPrev("#b(Everyone's been so nice to me, but I just can't remember anything. Am I really a hero? I should check my skills and see. But how do I check them?)", 3);
} else if (status == 4) {
qm.guideHint(15);
qm.dispose();
}
}
}

View File

@@ -66,7 +66,7 @@ function end(mode, type, selection) {
}
}
if (status == 0)
qm.sendYesNo("Hm... Your expression tells me that the exercise didn't jog any memories. But don't you worry. They'll come back, eventually. Here, drink this potion and power up!\r\n\r\n#fUI/UIWindow.img/QuestIcon/4/0#\r\n#v2000022# 10 #t2000022#\r\n#v2000023# 10 #t2000023#\r\n\r\n#fUI/UIWindow.img/QuestIcon/8/0# 57 exp");
qm.sendOk("Hm... Your expression tells me that the exercise didn't jog any memories. But don't you worry. They'll come back, eventually. Here, drink this potion and power up!\r\n\r\n#fUI/UIWindow.img/QuestIcon/4/0#\r\n#v2000022# 10 #t2000022#\r\n#v2000023# 10 #t2000023#\r\n\r\n#fUI/UIWindow.img/QuestIcon/8/0# 57 exp");
else if (status == 1) {
if(qm.isQuestCompleted(21012))
qm.dropMessage(1,"Unknown Error");

View File

@@ -59,7 +59,7 @@ function end(mode, type, selection) {
else if (status == 4)
qm.sendNextPrev("#b(Hm? Who's voice was that? It sounds like an angry boy...)", 2);
else if (status == 5)
qm.sendNextPrev("Ugh, my only master had to end up trapped in ice for hundreds of years, abandoning me completeley, and is now completely ignoring me.");
qm.sendNextPrev("Ugh, my only master had to end up trapped in ice for hundreds of years, abandoning me completely, and is now completely ignoring me.");
else if (status == 6)
qm.sendNextPrev("Who...are you?", 2);
else if (status == 7)

View File

@@ -59,7 +59,7 @@ function end(mode, type, selection) {
if(qm.haveItem(4032311, 30))
qm.sendNext("Oh, have you brought me the #t4032311#? You're stronger than I thought! But more importantly, I am impressed with the amount of courage you displayed when you agreed to take this dangerous weapon without any hesitation. You deserve it. The #p1201001# is yours.");
else{
qm.sendNext("Go for the #t4032311#.");
qm.sendNext("Go for the 30 #t4032311#.");
qm.dispose();
}
}else if (status == 1)
@@ -68,7 +68,8 @@ function end(mode, type, selection) {
qm.sendYesNo("Here, this is #p1201002#, the Polearm you've asked for. Please take good care of it.");
else if (status == 3){
//qm.showVideo("Polearm");
qm.completeQuest();
qm.completeQuest();
qm.forceCompleteQuest(21201);
qm.removeAll(4032311);
qm.dispose();
}

View File

@@ -20,7 +20,7 @@ function start(mode, type, selection) {
} else if (status == 1) {
qm.sendNextPrev("#b(You tell her that you were able to remember the Combo Ability skill.)#k", 2);
} else if (status == 2) {
qm.sendAcceptDecline("That's great! Honestly, though, I think it has less to do with the method of #p1202006#'s training and more to do with your body remembering its old abilities. #bI'm sure your body will remember more skills as you continue to train#k! \r\n\r\n#fUI/UIWindow.img/QuestIcon/8/0# 500 exp");
qm.sendNextPrev("That's great! Honestly, though, I think it has less to do with the method of #p1202006#'s training and more to do with your body remembering its old abilities. #bI'm sure your body will remember more skills as you continue to train#k! \r\n\r\n#fUI/UIWindow.img/QuestIcon/8/0# 500 exp");
} else if (status == 3) {
qm.forceCompleteQuest();
qm.gainExp(500);

View File

@@ -34,7 +34,7 @@ function end(mode, type, selection) {
} else if (status == 6) {
qm.sendYesNo("Scared? Pfft. Who cares if the Black Mage appears. You'll be here to protect us. If anything, this makes me want to prepare you for the big battle. Ah, that reminds me, I found a #bskill#k. Would you like to see it?");
} else if (status == 7) {
if (qm.getQuestStatus(21720) == 0) {
if (qm.getQuestStatus(21720) == 1) {
qm.forceCompleteQuest();
qm.teachSkill(21001003, qm.getPlayer().getSkillLevel(21001003), 20, -1);
qm.gainExp(3900 * qm.getPlayer().getExpRate());