This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
Joκκєrino
Why this code doesn't work ? ( it works in eclipse , without error , but no effect in game ) .
if (newChar.isWearingMagicArmor())
{
newChar.setTitle(Config.ADD_CHAR_TITLE_M);
newChar.getAppearance().setNameColor(244, 14, 203);
newChar.sendMessage("Congratulations , you are born to be Master of Dark Magic \n !");
}
else
{
newChar.setTitle(Config.ADD_CHAR_TITLE_F);
newChar.getAppearance().setNameColor(26, 135, 205);
newChar.sendMessage("Congratulations , you are born to be a Invincible Knight of Holy . \n !");
}
I've added it in CharacterCreation.java
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now