Fixed quest rewarding + Lethal attacks in Dojo

Fixed quests not giving items in some cases, lethal damages rendering
dojo uncompletable and added new scripts.
This commit is contained in:
ronancpl
2017-04-07 21:42:42 -03:00
parent f6935d3d3b
commit c8f905e1a5
23 changed files with 7503 additions and 6922 deletions

View File

@@ -123,4 +123,17 @@ public enum MapleJob {
public boolean isA(MapleJob basejob) {
return getId() >= basejob.getId() && getId() / 100 == basejob.getId() / 100;
}
public int getJobNiche() {
return (jobid / 100) % 10;
/*
case 0: BEGINNER;
case 1: WARRIOR;
case 2: MAGICIAN;
case 3: BOWMAN;
case 4: THIEF;
case 5: PIRATE;
*/
}
}