Meridian59/Meridian59 — pull request #239 by M59Gar (2013-09-13 20:16:56+00:00)
Title: Fixed Deflect bugs

Deflect was calling the attacker's deflect state, when in fact it is the
victim that has the deflect enchantment. This resulted in a 'chance to
reflect' of zero or nil.

Deflect also had its success check backwards, so that a zero or nil
value always succeeded. This was causing deflect to reflect 100% of all
attack spells.

With both of these fixed, the spell now reflects 10% - 75% of all attack
spells based on spellpower as intended.

"Your deflect enchantment attempts to bounce Gar's spell back, but is
not strong enough."

I still believe this spell is ridiculously overpowered, offering immunity
to attack magic and actually reflecting the spell up to 75% of the time,
but balancing will have to be left up to future changes.