Jump to content

Display the Enchantment Level on top of the main icon


Recommended Posts

Hey guys! I am publishing this manual by your many requests. But all code will be available to VIP Members only. 

Spoiler

If you have published many useful topics, but do not have vip status, write me a private message.

 

 

In the end, it will look like this: 

image.png.873cce40811f1668d8675a4d437d3d8f.png

 

First of all, in the interface we open the class 

This is the hidden content, please
, and find the
This is the hidden content, please
 function there. At the very top, add a new variable: 

local EItemType eItemType;

 

Then, after all the local variables, we need to set our new variable:

eItemType = EItemType(info.ItemType);

 

Now we will have two options to choose from. In the first one, you will not see the enchantment level displayed if it is zero. In the second one, all items that can be enchanted will show an enchantment level of +0-35. Go down to the bottom of the function and add one of the code options.

 

 

First option (+0 is not displayed ) :

This is the hidden content, please

 

Second option (+0 displayed  ) :

This is the hidden content, please

 

Note the "Info.Enchanted <= 35" part of the code; the number "35" is the last enchantment level to be displayed. If you add your icons where the enchantment level will be greater than 35, change that number in your code!

 

If you have enough +0-35 icons, you can download them here: 

https://maxcheaters.com/topic/239445-pack-of-icons-for-enchanting-levels-0-35/

 

Edited by Rolo
  • Like 3
  • Upvote 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...