
Originally Posted by
TonkahTrucks
@ soul, i fixed it, this is a release.
@ Coure, i made this you dumbass, i didn't leech shit unlike you.
Lol. You made it, ok then. Here.
let's go to this thread, here.
http://forum.ragezone.com/f566/ty-ne...l-help-681874/
Now I made this one, pure.
Code:
public void reborn() {
if (!c.getPlayer().isCygnus()) {
c.getPlayer().setJob(MapleJob.BEGINNER);
} else {
c.getPlayer().setJob(MapleJob.NOBLESSE);
}
List<Pair<MapleStat, Integer>> reborn = new ArrayList<Pair<MapleStat, Integer>>(4);
c.getPlayer().setReborns(c.getPlayer().getReborns + 1);
c.getPlayer().setLevel(0);
c.getPlayer().dropMessage("You've been reborn. Your currect reborns are " + c.getPlayer().getReborns() + ".");
}
then I made him this NPC.
Code:
var status = 0;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == -1) {
cm.dispose();
} else {
if (mode == 0 && status == 0) {
cm.dispose();
return;
}
if (mode == 1)
status++;
else
status--;
if (status == 0) {
cm.sendYesNo("Hello, #h #. I can make you rebirth if you're level 200. \r\n\r\n#b#eNote:#k#n Reborn will set you to Level 0 and Stats will be reset. You will also gain #i4031453#.");
} else if (status == 1) {
if (cm.getPlayer().getLevel == 200) {
cm.getPlayer().reborn();
cm.gainItem(4031453, 1);
cm.sendOk("Congrats. You've been rebirthed and gained a #i4031453#.");
cm.dispose();
} else {
cm.sendOk("Sorry, you ain't level 200.");
cm.dispose();
}
}
}
}
Doesn't it looks samiliar to yours? I think it does.