PDA

View Full Version : Increasing Effects based on Stats


chrsschb
09-15-2014, 09:48 AM
So, Secrets made this post http://www.eqemulator.org/forums/showthread.php?t=27567 a few years ago about increasing spell damage based on INT. I know some custom servers make use of custom code to increase other effects (like health, heals, damage, etc) based on stats but no one is sharing. And since Secrets isn't accepting PMs I can't contact directly and ask.

Anyways, if anyone has this code and is willing to share I'd greatly appreciate it.

Thanks.

NatedogEZ
09-15-2014, 05:24 PM
https://github.com/Natedog2012/Server/blob/master/zone/spell_effects.cpp


Search for...NatedogSpellDMGScale


I labeled all my rules that way they are easy to find lol.. should give you an idea of where to place the spell scaling .. you can log on my test server and do a #mystats to see the scaling % ... melee scaling is in mob.cpp I think


the way I have my setup... if the rule is 1.0 .. each stat point adds 1% dmg ect ect.... 50.0 would be every 50 stat points it would be 1%

chrsschb
09-15-2014, 07:50 PM
Thanks for the quick reply. Hoping someone offers up others. I'm really uncomfortable working in the source, I know enough to make edits but figuring it out on my own would be destructive at best lol.