Increase Spell Damage based on INT
This code basically increases spell damage for both DD and DoTs by your INT, and INT only. I use it on my server instead of countless focus effects. This essentially disables spell bonuses in any other way, shape or form from focus effects. I did this so I can balance things easier.
It's better to increase spell damage serversided than have a bunch of spells with each damage being higher each level. I'm surprised SOE never did this yet, though I guess that's what makes EQ, well, EQ. Anyway, ruletypes.h, spell section Code:
RULE_INT ( Spells, SpellModDivideByDD, 100) //number to divide by the stat you specify in spell_effects for DDs Code:
case SE_CurrentHP: // nukes, heals; also regen/dot if a buff Code:
case SE_CurrentHP: Code:
INSERT INTO `rule_values` (`ruleset_id`,`rule_name`,`rule_value`) VALUES ('1','Spells:SpellModDivideByDOT','200') The values are all adjustable so mess with it how you see fit. It's a cheap hack, but hey, it's a unique one. Enjoy! PS: I think healing can be edited in the same way, I just would use a case for lifetaps as well. The critbonus might want to be reduced to 50% instead of 100% as well for damage crits, to not overpower casters. |
Thanks for the submission, Secrets. It definitely looks like something useful for custom servers wanting to use something different. It would be nice if you could stack focus effects and other bonuses with it. It would also be really cool if you could make a rule that enables or disables this system completely. If that rule was added, I see no reason why this couldn't be added to the normal SVN souce code as an option (with default rule value set to false of course).
|
Quote:
Code:
effect_value = (effect_value * caster->itembonuses.INT / (RuleI(Spells,SpellModDivideByDOT))); |
Quote:
BTW another thign you will need to add as Rules are: - exactly much INT is beein converted into a bonus on % based - 1% per X INT? - point after which INT converts into a bonus (for exmaple 150 - only INt over 150 counts into bonus, so ist actual int -150 =X) ANother thing - again taking from EQ2 - code simular bonus to WIS - in eq2 WIS augments your Heals and effect from Buffs - so while healers can get extra healign power out of their wis - other casters while don't have heals, will be able to increase effect on their buffs, runes, damage shields and so on but building up their WIS even if they are INt casters. again will need: -rule to turn it on -rule of convertion ratio -rule of starting of point |
Works nice , thanks for releasing Secrets... maybe you can release the other codes you did on your other server :P
|
All times are GMT -4. The time now is 11:20 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.