Clean-up Patch

Bug correction on some quests.
This commit is contained in:
ronancpl
2016-07-26 18:19:12 -03:00
parent 4a99568cbe
commit 63d0e87d4d
10 changed files with 560 additions and 193 deletions

44
scripts/quest/3250.js Normal file
View File

@@ -0,0 +1,44 @@
var status = -1;
function start(mode, type, selection) {
if(mode == 0) {
qm.dispose();
return;
}
status++;
if(status == 0) {
if(!qm.canHold(4220046)) {
qm.sendNext("You need a slot on your ETC inventory to receive the egg to hatch.");
qm.dispose();
return;
}
qm.gainItem(4220046, 1);
qm.sendNext("Go bring me 30 #b#i4031992# #t4031992# #kASAP!");
qm.startQuest();
}
qm.dispose();
}
function end(mode, type, selection) {
if(mode == 0) {
qm.dispose();
return;
}
status++;
if(status == 0) {
qm.sendNext("Alright, it seems you brought the items I needed. Great job!");
}
else if(status == 1) {
qm.gainFame(11);
qm.gainItem(4220046, -1);
qm.gainItem(4031992, -30);
qm.completeQuest();
qm.dispose();
}
}