Hey,
new guy. I was trying to delve a little into Mangos source. I would like to do simple fixes, which would allow other power C++ coders to focus on those really important things.
This is how I thought I'd start - I'll find a spell I know does work, then I'll find it in the Mangos source and try to understand what needs to be written where for the spell to function properly. I chose 1659 (Noggenfogger effect, which makes you small). I found and understood how the spell is randomly chosen when you drink the elixir, but I can't seem to find how it's done that it makes you small! What I found so far is only one comment next to SPELL_AURA_MOD_SCALE and then in SpellMgr.cpp. I THINK this particular spells work in generic way, ie. there is no code needed for similar spells, you just need to tell the client to apply the scale aura and parameter which says how much it will make you smaller/bigger. But that has to be defines somewhere, right?
Another spell I know that works is 18661, but I don't understand how.