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 - Badhabits

Pages: [1]
1
Core:Trinity Core 3.3.5a

I have been working on this off and on till I get frustrated, thought I would ask some people with better C++ skills. I have posted on a few websites and am surprised this is not more sought after since it would seem to be a great mod for a lot of reasons.

I know that the Core looks at the DBC files for adding the spells for Gems. What I have been trying to do is change this so if I add stats to a Gem in sql (Stat_type1-Stat_type10) it would give those stats to the player when the gem was equipped in gear. Does anyone have any ideas for a custom script to get  (Stat_type1-Stat_type10) to work on Gem sockets?

I was told on another website to "Look at the Player::*Enchantment functions and their call hierarchy, you'll eventually see where it calls the DBC lookup, you can just override that there."

I could not find a Player::*Enchantment. The closest I came to finding something was Player::CorrectMetaGemEnchants .

I have since been trying to figure out how to give it stats like in Player::_ApplyItemBonuses
I have been playing around with the code around Player::CorrectMetaGemEnchants just to try and get one stat working. Any ideas on how to do this?  :D

Pages: [1]