Jump to content
TrinityCore
Sign in to follow this  
Yemto

Where is the stats amount stored?

Recommended Posts

I'm making a website for a server. But I have an issue getting items tooltip to work properly on it, I managed to get what kind of stats the item have (e.g. Spirit and Stamina) but I have no idea where the amount is stored. I'm guessing it have something to do with randomPropertyId. But even if two items have the same randomPropertyId, they have widely different stats amounts. Can anyone here help me? 

Edit: By reading ItemRandomSuffix.dbc I manage to find the suffix "of the X" so I know what the item is named. But so far I haven't find anyway to get the stats from it, right now I probably going to go with "<Random Enchantment>" until I know how to show the proper stats

Edited by Yemto

Share this post


Link to post
Share on other sites
1 hour ago, Yemto said:

I'm making a website for a server. But I have an issue getting items tooltip to work properly on it, I managed to get what kind of stats the item have (e.g. Spirit and Stamina) but I have no idea where the amount is stored. I'm guessing it have something to do with randomPropertyId. But even if two items have the same randomPropertyId, they have widely different stats amounts. Can anyone here help me? 

check how minimanager works.

Share this post


Link to post
Share on other sites
7 hours ago, Aokromes said:

check how minimanager works.

I just checked it out and the only thing it get right, is the item name. 

 

Edit: So I finally managed to figure out a bit more about where the stats are stored, I found the suffix scale which calculate it. But I have yet to find out how to calculate the suffix factor to get the right numbers.

Edited by Yemto
added more info

Share this post


Link to post
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.

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...