15 lines
489 B
JavaScript
15 lines
489 B
JavaScript
function start(mode, type, selection) {
|
|
if (qm.getPlayer().getJob().getId() > 1000 && qm.getPlayer().getJob().getId() < 2000) {
|
|
qm.forceStartQuest();
|
|
}
|
|
qm.dispose();
|
|
}
|
|
|
|
function end(mode, type, selection) {
|
|
if (qm.canHold(1142066) && !qm.hasItem(1142066) && (qm.getPlayer().getJob().getId() > 1000 && qm.getPlayer().getJob().getId() < 2000)) {
|
|
qm.gainItem(1142066, 1);
|
|
qm.forceStartQuest();
|
|
qm.forceCompleteQuest();
|
|
}
|
|
qm.dispose();
|
|
} |