Making item bonus spell dmg apply to Dots
I have been making some changes to a server of my own recently and one change that I have been wanting to make is to get extra spell damage on items to apply to damage over time spells. I have been making changes to the effects.cpp to no avail. I know it has to be simple but I'm new at this. Plzz help
Thank you all |
Have you tried modifying Mob::GetActDoTDamage's calculations?
|
Replace GetActDoTDamage function with the one below...
Code:
int32 Mob::GetActDoTDamage(uint16 spell_id, int32 value, Mob* target) { |
Thank you very much! After i see how simple it was i'm not sure why I couldn't get it.
|
All times are GMT -4. The time now is 02:44 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.