Hello,
I'm modding 3.3.5 on TrinityCore.
I've added a new stat serverside for players/units in the game. It appears to be working fine, however, I'm confused about how to display the stat in the character paper doll panel. Looking at PaperDollFrame.lua, it appears to be displaying the player's stats (i.e. Strength, Agility, Intelligence, etc.) using a function in the WoW API called UnitStat. However, when I try to use this function to reference my new custom stat (referencing it by the next index up which is 6 since it is the 6th stat I'm assuming), it fails without error. Does anybody know if there is a way for me to get the custom stat that I added to the player/unit from within the client?
Thanks for any help, I enjoy this forum very much.
-Jason