Clean-up Patch

Bug correction on some quests.
This commit is contained in:
ronancpl
2017-04-04 17:14:20 -03:00
parent b2da79ff13
commit 7863994a13
53 changed files with 1291 additions and 119 deletions

View File

@@ -21,7 +21,36 @@
*/
//Moose, Warps to exit
var status;
function start() {
cm.warp(221000300,"mid00");
cm.dispose();
}
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode <= 0) {
cm.dispose();
return;
}
status++;
if(status == 0) {
if(cm.isQuestStarted(6180)) {
cm.sendYesNo("Pay attention: during the time you stay inside the training ground make sure you #bhave equipped your #t1092041##k, it is of the utmost importance. Are you ready to proceed to the training area?");
}
else {
cm.sendOk("Only assigned personnel can access the training ground.");
cm.dispose();
}
}
else if(status == 1) {
cm.warp(924000001);
cm.sendOk("Have your shield equipped until the end of the quest, or else you will need to start all over again!");
cm.resetQuestProgress(6180,9300096);
cm.dispose();
}
}