Source for my MapleSolaxiaV2 (v83 MapleStory).
This commit is contained in:
ronancpl
2015-11-02 23:17:21 -02:00
parent 324982e94f
commit 972517e7b2
1675 changed files with 261831 additions and 0 deletions

28
scripts/quest/3452.js Normal file
View File

@@ -0,0 +1,28 @@
importPackage(Packages.tools);
var status = -1;
function end(mode, type, selection) {
status++;
if (mode != 1) {
qm.dispose();
}
else {
if (status == 0) {
qm.sendNext("Take these #bMana Elixir Pills#k as a token of my gratitude.");
}
else if (status == 1) {
if(qm.getPlayer().getInventory(Packages.client.inventory.MapleInventoryType.USE).getNumFreeSlot() >= 1) {
qm.gainItem(4000099, -1);
qm.gainItem(2000011, 50);
qm.gainExp(8000);
qm.forceCompleteQuest();
}
else {
qm.sendNext("Hm? It looks like your inventory is full.");
}
qm.dispose();
}
}
}