sweetgum83/scripts/quest/29925.js
2024-01-19 03:56:28 -05:00

19 lines
622 B
JavaScript

var status = -1;
function start(mode, type, selection) {
if (qm.canHold(1142130) && !qm.haveItem(1142130, 1) && qm.getPlayer().getLevel() >= 30 && ((qm.getPlayer().getJob() / 100) | 0) == 21) {
qm.gainItem(1142130, 1);
qm.forceStartQuest();
qm.forceCompleteQuest();
}
qm.dispose();
}
function end(mode, type, selection) {
if (qm.canHold(1142130) && !qm.haveItem(1142130, 1) && qm.getPlayer().getLevel() >= 30 && ((qm.getPlayer().getJob() / 100) | 0) == 21) {
qm.gainItem(1142130, 1);
qm.forceStartQuest();
qm.forceCompleteQuest();
}
qm.dispose();
}