Refactor OvaleEclipse:ApplySpellAfterCast() into smaller functions.
Refactor OvaleEclipse:ApplySpellAfterCast() into smaller functions.
Add state methods:
EclipseEnergy() returns the eclipse energy generated by a spell.
ApplyEclipseEnergy() updates the eclipse state.
AddEclipse() and RemoveEclipse() for managing Eclipse state effects.
Also properly handle Celestial Alignment, which zeroed the eclipse energy
but also granted the spell effects of both Lunar and Solar Eclipse.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1499 d5049fe3-3747-40f7-a4b5-f36d6801af5f