[Release] pirate to gunslinger or infighter npc
i made an npc that gives you second job advancements on pirates
yet again it might now work just try it out
PHP Code:
if (cm.getJob().equals(net.sf.odinms.client.MapleJob.PIRATE)) {
cm.sendSimple("Which would you like to become? #b\r\n#L0#gunslinger #l\r\n#L1#infighter#l#k");
if (selection == 0) {
cm.sendNext("Are you sure you want to become an gunslinger?");
} else if (selection == 1) {
cm.sendNext("Are you sure you want to become a infighter?");
}
if (selection == 0) {
cm.getJob();net.sf.odinms.client.MapleJob.GUNSLINGER)){
}
if (selection == 0) {
cm.getjob();net.sf.odinms.client.MapleJob.INFIGHTER)){
cm.dispose():
}
}
}
Re: pirate to gunslinger or infighter npc
PHP Code:
if (selection == 0) {
cm.sendNext("Are you sure you want to become an gunslinger?");
} else if (selection == 1) {
cm.sendNext("Are you sure you want to become a infighter?");
}
if (selection == 0) {
cm.getJob();net.sf.odinms.client.MapleJob.GUNSLINGER)){
}
if (selection == 0) {
cm.getjob();net.sf.odinms.client.MapleJob.INFIGHTER)){
cm.dispose():
Lol what's this
Re: pirate to gunslinger or infighter npc
its for second job advancemets on pirates
im working on it for to give 3rd and 4th too
Re: pirate to gunslinger or infighter npc
I know... but it's horribly written. Does this work?
PHP Code:
cm.getjob();net.sf.odinms.client.MapleJob.INFIGHTER
Re: pirate to gunslinger or infighter npc
I think you should put tags. o.o [Release]
Re: pirate to gunslinger or infighter npc
If it might not work then why release it
Re: pirate to gunslinger or infighter npc
I really doubt this would actually work...
Re: pirate to gunslinger or infighter npc
Actually, I'm 100% sure this won't work.
btw it's change job not getjob
cm.getJob();net.sf.odinms.client.MapleJob.GUNSLINGER)){
and why do you have a ; in the middle? This will leave errors
Re: pirate to gunslinger or infighter npc
ok.. ill try to fix this thing and add the rest of the pirate jobs
Re: pirate to gunslinger or infighter npc
i need a guide on how to code npc's better lol i suck at it
Re: pirate to gunslinger or infighter npc
You may have to test before release.
Re: pirate to gunslinger or infighter npc
A rule in this forum is
No releasing untested releases
Re: [Release] pirate to gunslinger or infighter npc
Re: [Release] pirate to gunslinger or infighter npc
lol... this is a simply done script that possibly been released out there before with much better functions, and im fully aware ragezoners are aware of how to add change jobs in NPCs o.o
Re: [Release] pirate to gunslinger or infighter npc
Quote:
Originally Posted by
SaintsIan
lol... this is a simply done script that possibly been released out there before with much better functions, and im fully aware ragezoners are aware of how to add change jobs in NPCs o.o
You'd be surprised. This guy (TS) doesn't know how.