Skip to content

code to show possibility to enchant?

Featured Replies

Good afternoon everyone, is there a code that shows the possibility of enchanting an item? I use l2jfrozen.
 

Example:

 

unknown.png

Edited by Kusaty

2 hours ago, Kusaty said:

Good afternoon everyone, is there a code that shows the possibility of enchanting an item? I use l2jfrozen.
 

What you mean 'that shows' ? Shows where?

8 minutes ago, splicho said:

Chat I think

It doesn't matter what you think and what I think. If people can't give the necessary details for their request , then there's no hope... 

  • Author
3 hours ago, melron said:

What you mean 'that shows' ? Shows where?

Hi bro. I wanted it to show the percentage of enchant that the item has.

1 hour ago, 911reg said:

he's looking for something like this
unknown.png

 

That's what I am looking for.  😄

35 minutes ago, Kusaty said:

Hi bro. I wanted it to show the percentage of enchant that the item has.

That's what I am looking for.  😄

Well, if you don't have any kind of system for dynamic enchantment chances (i.e., a system that makes enchant chances increase or decrease based on the item's current enchantment level), you could just add the chance to the item's description through itemname-e.dat

Go at the line where the server checks the chance, and just send those info to the player

Edited by melron

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.