Alright before we get started let me just stop you here
1) This is not meant to be "good"
2) This can give you male hair/face on female and female hair/face on male
3) It could have been done way better
4) I really don't care
5) Merry Christmas at least you got something
6) It won't give you a hair or face your server doesn't support if it lands on one that doesn't exist it'll recycle until it gives you one that does exist
in NPCConversationManager add the following
I might add the npc script later idk I'm tired and lazy
Merry Christmas guys
..........AND let the complaints begin \o/
1) This is not meant to be "good"
2) This can give you male hair/face on female and female hair/face on male
3) It could have been done way better
4) I really don't care
5) Merry Christmas at least you got something
6) It won't give you a hair or face your server doesn't support if it lands on one that doesn't exist it'll recycle until it gives you one that does exist
in NPCConversationManager add the following
Code:
public void SBCFace() {
Random r = new Random();
int Result = r.nextInt(6860) + 20000;
if (faceExists(Result)) {
getPlayer().setFace(Result);
getPlayer().updateSingleStat(MapleStat.FACE, Result);
getPlayer().equipChanged();
} else {
SSBFace();
}
}
public void SBCHair() {
Random r = new Random();
int Result = r.nextInt(14537) + 30000;
if (hairExists(Result)) {
getPlayer().setHair(Result);
getPlayer().updateSingleStat(MapleStat.HAIR, Result);
getPlayer().equipChanged();
} else {
SSBHair();
}
}
I might add the npc script later idk I'm tired and lazy
Merry Christmas guys
..........AND let the complaints begin \o/