This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - areallycoolguy14

Pages: [1]
1
Serverside Modding / Re: New Custom Stat Question
« on: June 11, 2016, 07:17:56 pm »
Thank you for your response.  I looked into the AIO addon you mentioned.  That looks very promising.  I will give it a try and see if it will work.  Thanks for showing me that, I did not know that that existed.

2
Serverside Modding / New Custom Stat Question
« on: June 11, 2016, 02:17:10 am »
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

Pages: [1]