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