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

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