- Joined
- Aug 21, 2008
- Messages
- 18
- Reaction score
- 0
Once again im sure this has been released before but seeing as how i cant find one here it is! =)
Insert it into your commandprocesser and it'l work perfectly
Insert it into your commandprocesser and it'l work perfectly
Code:
else if (splitted[0].equals("@resetstats")) {
int Dex = player.getDex();
int Int = player.getInt();
int Str = player.getStr();
int Luk = player.getLuk();
int newStat = player.getRemainingAp() + Dex + Int + Str + Luk - 16
player.setRemainingAp(newStat);
player.updateSingleStat(MapleStat.AVAILABLEAP, player.getRemainingAp());
player.setDex(4);
player.setInt(4);
player.setStr(4);
player.setLuk(4);
player.updateSingleStat(MapleStat.DEX, player.getDex());
player.updateSingleStat(MapleStat.INT, player.getInt());
player.updateSingleStat(MapleStat.STR, player.getStr());
player.updateSingleStat(MapleStat.LUK, player.getLuk());
mc.dropMessage("Your Stats has been reset. please note that some equips may not work because your stats have changed.");
}
Last edited:

