17 lines
594 B
JavaScript
17 lines
594 B
JavaScript
var status = -1;
|
|
|
|
function start(mode, type, selection) {
|
|
if (qm.getPlayer().getJob().getId() > 1000 && qm.getPlayer().getJob().getId() % 10 > 0 && qm.getPlayer().getJob().getId() < 2000) {
|
|
qm.forceStartQuest();
|
|
}
|
|
qm.dispose();
|
|
}
|
|
|
|
function end(mode, type, selection) {
|
|
if (qm.canHold(1142068) && !qm.haveItem(1142068) && qm.getPlayer().getJob().getId() > 1000 && qm.getPlayer().getJob().getId() % 10 > 0 && qm.getPlayer().getJob().getId() < 2000) {
|
|
qm.gainItem(1142068, 1);
|
|
qm.forceStartQuest();
|
|
qm.forceCompleteQuest();
|
|
}
|
|
qm.dispose();
|
|
} |