Factor in power regen time for spell "readiness".
Factor in power regen time for spell "readiness".
- Add a new state method TimeToPower() for the number of seconds before
the given resource required is available for a spell.
- If the time to pool resources is longer than the time needed for a spell
to come off cooldown, then add that additional time to the spell's
cooldown duration.
These changes allow for "wait Spell(mangle_cat)" to have a time span for
the energy pooling.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1332 d5049fe3-3747-40f7-a4b5-f36d6801af5f