- imported last simulationcraft scripts (overwrote feral druid changes :( )
- added Charges(), CritDamage(), and PTR() functions
- added raid_movement buff

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@703 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Cache active glyphs in OvaleData and update on GLYPH_* events.

This change causes the OvaleData module to update the active glyph cache
on GLYPH_* events.

All modules now reference the OvaleData.glyphs table instead of looping
through all of the glyph sockets and querying their contents each time we
need to find out if a particular glyph is active.

This is an efficiency boost for scripts.

Also fix "/ovale glyph" to output the currently active glyphs.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@704 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Remove unused haste buff table - haste is tracked by OvalePlayerDoll.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@705 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Convert all Ovale helper classes into Ace3 modules of Ovale addon.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@706 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Use standard AceAddon methods instead of deferring with FirstInit().

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@707 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Drop GetApparence() method from OvaleOptions; just use GetProfile().

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@708 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Better encapsulation of damage meter modules.

OvaleRecount and OvaleSkada are full-fledged Ovale modules and encapsulate
the code for adding a new reporting mode for their respective damage meter
addon.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@709 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix ticket #211 - Burning Ember Number

UnitPower() has a hidden 3rd argument to get the true value of a warlock's
secondary power value.  This fixes BurningEmbers() and SoulShards() to
return values from 0 to 40 (for the number of ember or shard segments)
instead of 0 to 4 (full ember or shard).  This also now correctly
correlates with the burningembers=xxx and shards=xxx values in warlock
script SpellInfo() lines.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@710 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Back out part of r649 for handling combo points.

Combo points should still be updated in OvaleState to reflect attacks that
have been cast but not yet arrived at their target (either damaging or
missing the target).  OvaleComboPoints will update combo points to reflect
"crit combo" events only after the attacks have landed, not after
spellcast.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@711 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Add new SpellInfo parameters to handle buffs generating extra resources.

``buff_<resource>'' is an optional parameter that is set to the spell ID
of the buff that causes extra resources to be generated when present.

``buff_<resource>_amount'' is an optional parameter that is set to the
number of extra resources generated when the buff listed in
``buff_<resource>'' is present.  If not set, then it defaults to ``1''.

Drop special handling of Shadow Blades in OvaleState now that it can be
described and handled directly in the rogue script with the above
parameters.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@712 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Re-apply script fixes after latest SimulationCraft import.

Rogue:
    CP generators cause an extra CP if Shadow Blades is present.

Paladin:
    When using the Glyph of Mass Exorcism, the spell ID of Exorcism
    changes from 879 to 122032.

Warrior:
    The spell ID generated by the SimC converter is incorrect.  46915 is
    the spell ID of the passive ability while 46916 is the spell ID of the
    actual buff gained by the warrior.

    Also add a SpellInfo line that notes the duration of the Bloodsurge
    buff.

    This matches the usage of "bloodsurge" in the Ovale script which
    checks for BuffStacks(bloodsurge), and which also has a SpellAddBuff
    line for wild_strike that deducts one from Bloodsurge stack.

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