Rename and clean up MapleJob
This commit is contained in:
@@ -23,12 +23,12 @@ function end(mode, type, selection) {
|
||||
var talkStr = "Do you like the glove? I've kept this for a while, and I was planning on using it someday, but it looks much better on you. Please put it to good use; besides, I got so much stuff from the Sector, that I don't need it anymore.";
|
||||
stance = qm.getPlayer().getJobStyle();
|
||||
|
||||
const MapleJob = Java.type('client.MapleJob');
|
||||
if(stance == MapleJob.WARRIOR) item = 1082024;
|
||||
else if(stance == MapleJob.MAGICIAN) item = 1082063;
|
||||
else if(stance == MapleJob.BOWMAN || stance == MapleJob.CROSSBOWMAN) item = 1082072;
|
||||
else if(stance == MapleJob.THIEF) item = 1082076;
|
||||
else if(stance == MapleJob.BRAWLER || stance == MapleJob.GUNSLINGER) item = 1082195;
|
||||
const Job = Java.type('client.Job');
|
||||
if(stance == Job.WARRIOR) item = 1082024;
|
||||
else if(stance == Job.MAGICIAN) item = 1082063;
|
||||
else if(stance == Job.BOWMAN || stance == Job.CROSSBOWMAN) item = 1082072;
|
||||
else if(stance == Job.THIEF) item = 1082076;
|
||||
else if(stance == Job.BRAWLER || stance == Job.GUNSLINGER) item = 1082195;
|
||||
else item = 1082149;
|
||||
|
||||
qm.sendNext(talkStr);
|
||||
|
||||
Reference in New Issue
Block a user