Merge branch 'master' of https://github.com/ronancpl/HeavenMS into credits_update

This commit is contained in:
ronancpl
2019-11-14 22:35:43 -03:00
864 changed files with 20650 additions and 11188 deletions

View File

@@ -48,14 +48,13 @@ function end(mode, type, selection) {
qm.dispose();
return;
}
} else {
} else if (status == 2) {
qm.forceCompleteQuest();
qm.gainItem(4031980, -1);
var skillid = Math.floor(qm.getPlayer().getJob().getId() / 1000) * 10000000 + 1007;
qm.teachSkill(skillid, 3, 3, -1);
qm.gainExp(300000);
qm.forceCompleteQuest();
qm.dispose();
}