Jump to content
  • 0

Enchant Message


Question

Posted

Any1 know how to make a message like this?

 

Mnfbr.png

 

it shows the rate for enchant and penality if item fail when u put the item for enchant...

 

for l2jserver gracia final

 

thanks

Recommended Posts

  • 0
Posted

dont know how to make it...

 

Concatenate is a fancy programming term for adding strings. So you'd have

String a = new String( "This is a." );
String b = new String( "This is b." );
String c = new String( a + " " + b );
System.out.println( c );

 

So basically, you'd have to fetch the values of the 'enchant success', add them to a another string and pass that along to the player through sendMessage, or whatever.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

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..