Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[xmas 2017] 100% random sbc

Initiate Mage
Joined
Apr 23, 2017
Messages
6
Reaction score
1
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
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/
 
Back
Top