Meridian59/Meridian59 — pull request #176 by M59Gar (2013-06-04 04:02:27+00:00)
Title: Radius Enchantment Class

Brought back the 'Jala Overhaul' as a generalized and simplified class, using Umbrella as the prototype. All Jala songs still work under the old system, so this has minimal immediate impact on gameplay.

Content:
* Players have a list of Radius Enchantments similar to how Personal Enchantments work.
* These Radius Enchantments will show up in the Area Enchantment icon bar while active.
* With the new functionality, Umbrella finally has the ability to protect players inside it from players outside of it - but once an attacker is inside the barrier, it no longer helps. Even better, non-combatants can't interfere anymore.
* In addition, I created a much simpler 'conditional' function, TargetIsValid, which lets us easily control who is affected by the spells. For instance, Umbrella works on Guildmates and Enemies only.

Going forward, new Radius Enchantment spells will need their own hooks. There are no checks for any other functions besides what Umbrella does (modifyDefensePower, modifyResistance).