Fix intersecting time spans to avoid point sets.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1317 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix ticket 337: Value elements may not have a params field.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1318 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix comments to shaman script.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1319 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Implement RuneOfPowerRemains() condition.

This translates SimC's "buff.rune_of_power.remains" by returning the
remaining time of the most recently-placed Rune of Power if the player is
currently standing within a Rune of Power.

The assumption here is that the player is standing in the most
recently-placed Rune of Power.

This fixes ticket #341.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1320 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix buff conditions by checking that an aura is active.

Active auras have their properties returned with a time span of (0, inf)
and inactive auras fall through to the default value of zero.

This partly backs out r1252 and re-implements using broader time spans to
avoid problems with comparisons.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1321 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Monk: Don't show potions in the main or AoE icons.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1322 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Hunter: Focus Fire should remove Frenzy stacks from the player.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1323 d5049fe3-3747-40f7-a4b5-f36d6801af5f
SimC "action.<action>.tick_damage" should translate to a debuff property.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1324 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Don't rely on implicit default target=target in translated script.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1325 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Re-add correct implementation of damage=Func SpellInfo parameter.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1326 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Allow for SpellInfo() overrides for Damage() and LastEstimatedDamage().

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1327 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Druid: Fix feral script by implementing functions to compute damage.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1328 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Druid: Note that Healing Touch procs DoC for ferals.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1329 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Add OvalePower.PRIMARY_POWER as a list of power types to wait on.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1330 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Make "runicpower" a secondary power type for Death Knights.

The primary resource for which DKs wait on are runes.  If there is not
enough runic power to cast a spell, DKs don't wait passively for runic
power to pool, but rather spend runes to generate more runic power.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1331 d5049fe3-3747-40f7-a4b5-f36d6801af5f
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+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1332 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Add Leafkiller feral/guardian druid script from Nerien's Ovale Scripts.

The script's new home is with the default Ovale distribution and the other
addon is to be deprecated.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1333 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Druid: Improve balance script precombat actions.

Move Wild Mushroom precombat actions to the Moving icon so as not to
obscure the actual first cast of the main rotation.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@1334 d5049fe3-3747-40f7-a4b5-f36d6801af5f