» Sat Nov 17, 2012 1:42 pm
Each Spell use one or more magic effects. When you add a new effect in a spell, you can add certain conditions for that new effect to affect the target. So, you could add to a fireball spell the damaging effect again, but this time add a condition where the target must be part of the undead faction (getfactionrank(undead) >= 0 . Not sure if the undead faction name is undead, you'll need to check that). That way, when the fireball affects an undead it will do the damage twice, effectivelly making double damage to undeads. You could of course add less damaging effects, more damaging ones, add various times the same effect or even add a totally different effect.