sweetgum83/scripts/quest/29928.js

19 lines
624 B
JavaScript
Raw Permalink Normal View History

2024-01-19 08:56:28 +00:00
var status = -1;
function start(mode, type, selection) {
if (qm.canHold(1142133) && !qm.haveItem(1142133, 1) && qm.getPlayer().getLevel() >= 200 && ((qm.getPlayer().getJob() / 100) | 0) == 21) {
qm.gainItem(1142133, 1);
qm.forceStartQuest();
qm.forceCompleteQuest();
}
qm.dispose();
}
function end(mode, type, selection) {
if (qm.canHold(1142133) && !qm.haveItem(1142133, 1) && qm.getPlayer().getLevel() >= 200 && ((qm.getPlayer().getJob() / 100) | 0) == 21) {
qm.gainItem(1142133, 1);
qm.forceStartQuest();
qm.forceCompleteQuest();
}
qm.dispose();
}