------------------------------------------------------------------------
r721 | jlam | 2013-03-03 18:55:11 +0000 (Sun, 03 Mar 2013) | 1 line
Changed paths:
   A /tags/5.1.14 (from /trunk:720)

Tagging as 5.1.14 release
------------------------------------------------------------------------
r720 | jlam | 2013-03-03 18:54:26 +0000 (Sun, 03 Mar 2013) | 1 line
Changed paths:
   M /trunk/Ovale.lua

Fix improper use of "self" in a local function.
------------------------------------------------------------------------
r719 | jlam | 2013-03-03 16:12:11 +0000 (Sun, 03 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleSkada.lua

Check whether Skada is present before using it in OvaleSkada.
------------------------------------------------------------------------
r718 | jlam | 2013-03-03 16:12:04 +0000 (Sun, 03 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleOptions.lua

Localize phrases.
------------------------------------------------------------------------
r717 | jlam | 2013-03-02 23:06:23 +0000 (Sat, 02 Mar 2013) | 1 line
Changed paths:
   M /trunk/README.md

Remove reference to "Restore default" button, which was removed.
------------------------------------------------------------------------
r715 | jlam | 2013-03-02 22:15:56 +0000 (Sat, 02 Mar 2013) | 12 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/Ovale.toc
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleOptions.lua
   A /trunk/OvaleScripts.lua
   M /trunk/defaut/Chaman.lua
   M /trunk/defaut/Chasseur.lua
   M /trunk/defaut/Chevalier.lua
   M /trunk/defaut/Demoniste.lua
   M /trunk/defaut/Druide.lua
   M /trunk/defaut/Guerrier.lua
   M /trunk/defaut/Mage.lua
   M /trunk/defaut/Moine.lua
   M /trunk/defaut/Paladin.lua
   M /trunk/defaut/Pretre.lua
   M /trunk/defaut/Voleur.lua

Add new module OvaleScripts to manage scripts from multiple sources.

Move the existing default scripts into OvaleScripts and decorate them with
a description that allows a user to see what class specializations are
supported by the default script.

Teach Ovale to use the script ``source'' to find the code for the current
script.  Custom code can be copied from an existing script to a blank
custom template that may be modified and saved into the SavedVariables
file.  The script ``source'' may be selected from a dropdown menu, with
the default menu containing the Ovale default script and either a blank
custom script or the custom script loaded from the SavedVariables file.
------------------------------------------------------------------------
r714 | jlam | 2013-03-02 22:15:46 +0000 (Sat, 02 Mar 2013) | 20 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleEquipement.lua
   M /trunk/OvaleFrame.lua
   M /trunk/OvaleOptions.lua
   M /trunk/OvaleStance.lua

Better encapsulation of compile-related code into OvaleCompile module.

The script needs to be recompiled if data that the script depends upon
changes.  In the other modules that flagged ``needCompile'', cause the
data changes due to Blizzard events to fire a new Ovale event after the
data is changed.

The new Ovale events are:

    Ovale_CheckBoxValueChanged
    Ovale_EquipmentChanged
    Ovale_GlyphsChanged
    Ovale_ListValueChanged
    Ovale_ScriptChanged
    Ovale_SpellsChanged
    Ovale_StanceChanged
    Ovale_TalentsChanged

Make OvaleCompile into a full-fledged Ace3 addon module that listens for
the new Ovale events that triggers script recompilation.
------------------------------------------------------------------------
r713 | jlam | 2013-03-02 18:08:15 +0000 (Sat, 02 Mar 2013) | 20 lines
Changed paths:
   M /trunk/defaut/Guerrier.lua
   M /trunk/defaut/Paladin.lua
   M /trunk/defaut/Voleur.lua

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.
------------------------------------------------------------------------
r712 | jlam | 2013-03-02 17:58:25 +0000 (Sat, 02 Mar 2013) | 12 lines
Changed paths:
   M /trunk/OvaleState.lua

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.
------------------------------------------------------------------------
r711 | jlam | 2013-03-02 17:58:17 +0000 (Sat, 02 Mar 2013) | 7 lines
Changed paths:
   M /trunk/OvaleState.lua

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.
------------------------------------------------------------------------
r710 | jlam | 2013-03-02 17:58:10 +0000 (Sat, 02 Mar 2013) | 8 lines
Changed paths:
   M /trunk/OvaleData.lua
   M /trunk/OvaleState.lua

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.
------------------------------------------------------------------------
r709 | jlam | 2013-03-02 17:58:03 +0000 (Sat, 02 Mar 2013) | 5 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleRecount.lua
   M /trunk/OvaleSkada.lua

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.
------------------------------------------------------------------------
r708 | jlam | 2013-03-02 17:57:56 +0000 (Sat, 02 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleFrame.lua
   M /trunk/OvaleIcone.lua
   M /trunk/OvaleOptions.lua

Drop GetApparence() method from OvaleOptions; just use GetProfile().
------------------------------------------------------------------------
r707 | jlam | 2013-03-02 17:57:49 +0000 (Sat, 02 Mar 2013) | 1 line
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleOptions.lua

Use standard AceAddon methods instead of deferring with FirstInit().
------------------------------------------------------------------------
r706 | jlam | 2013-03-02 17:57:40 +0000 (Sat, 02 Mar 2013) | 1 line
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleActionBar.lua
   M /trunk/OvaleAura.lua
   M /trunk/OvaleBestAction.lua
   M /trunk/OvaleComboPoints.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleEnemies.lua
   M /trunk/OvaleEquipement.lua
   M /trunk/OvaleFrame.lua
   M /trunk/OvaleFuture.lua
   M /trunk/OvaleGUID.lua
   M /trunk/OvaleIcone.lua
   M /trunk/OvaleOptions.lua
   M /trunk/OvalePaperDoll.lua
   M /trunk/OvaleSpellDamage.lua
   M /trunk/OvaleStance.lua
   M /trunk/OvaleState.lua
   M /trunk/OvaleSwing.lua
   M /trunk/compiler.pl

Convert all Ovale helper classes into Ace3 modules of Ovale addon.
------------------------------------------------------------------------
r705 | jlam | 2013-03-02 17:57:33 +0000 (Sat, 02 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Remove unused haste buff table - haste is tracked by OvalePlayerDoll.
------------------------------------------------------------------------
r704 | jlam | 2013-03-02 17:57:25 +0000 (Sat, 02 Mar 2013) | 12 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleOptions.lua

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.
------------------------------------------------------------------------
r703 | sidoine | 2013-03-02 13:07:15 +0000 (Sat, 02 Mar 2013) | 3 lines
Changed paths:
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/defaut/Chaman.lua
   M /trunk/defaut/Chasseur.lua
   M /trunk/defaut/Demoniste.lua
   M /trunk/defaut/Druide.lua
   M /trunk/defaut/Guerrier.lua
   M /trunk/defaut/Mage.lua
   M /trunk/defaut/Moine.lua
   M /trunk/defaut/Paladin.lua
   M /trunk/defaut/Pretre.lua
   M /trunk/defaut/Voleur.lua

- imported last simulationcraft scripts (overwrote feral druid changes :( )
- added Charges(), CritDamage(), and PTR() functions
- added raid_movement buff
------------------------------------------------------------------------
r701 | jlam | 2013-02-22 09:21:45 +0000 (Fri, 22 Feb 2013) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Monks have a 1s GCD by default.
------------------------------------------------------------------------
r700 | jlam | 2013-02-22 09:21:38 +0000 (Fri, 22 Feb 2013) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Use OvaleStance instead of directly calling Blizzard API for efficiency.
------------------------------------------------------------------------
r699 | jlam | 2013-02-22 09:21:31 +0000 (Fri, 22 Feb 2013) | 18 lines
Changed paths:
   M /trunk/Ovale.toc
   M /trunk/OvaleAura.lua
   M /trunk/OvaleBestAction.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleFuture.lua
   A /trunk/OvalePaperDoll.lua
   M /trunk/OvaleState.lua

Implement OvalePaperDoll class that tracks the in-game paper doll stats.

OvalePaperDoll caches the current player stats when it receives events
noting that the stats have changed.  Use OvalePaperDoll properties instead
of Blizzard API when referencing player stats.  This avoids a lot of
unnecessary Blizzard API calls.

The current stats cached by OvalePaperDoll are:

   * Primary stats: Agility, Intellect, Stamina, Strength, Spirit
   * Attack Power, Ranged Attack Power
   * Spellpower: bonus damage, bonus healing
   * Melee haste percent increase
   * Spell haste percent increase
   * Mastery effect percent increase

Remove haste-tracking from OvaleAura as it is now maintained in
OvalePaperDoll.
------------------------------------------------------------------------
r698 | jlam | 2013-02-22 09:21:24 +0000 (Fri, 22 Feb 2013) | 6 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleEquipement.lua

Better encapsulation of OvaleEquipement module.

Only refresh snapshot of equipped items when PLAYER_EQUIPMENT_CHANGED
fires instead of when UNIT_INVENTORY_CHANGED fires.  The latter event
fires every time an item is added or removed from a player's bags, which
can cause unnecessary script compilations.
------------------------------------------------------------------------
r696 | jlam | 2013-02-16 21:50:58 +0000 (Sat, 16 Feb 2013) | 1 line
Changed paths:
   M /trunk/OvaleActionBar.lua
   M /trunk/OvaleOptions.lua

Re-scan the action bar for when the player zones in or changes specs.
------------------------------------------------------------------------
r695 | jlam | 2013-02-16 21:50:51 +0000 (Sat, 16 Feb 2013) | 1 line
Changed paths:
   M /trunk/OvaleStance.lua

Hunter aspects are also managed via the stance/shapeshift action bar.
------------------------------------------------------------------------
r694 | jlam | 2013-02-15 22:13:57 +0000 (Fri, 15 Feb 2013) | 8 lines
Changed paths:
   M /trunk/README.md

Remove references to tank scripts from Ovale documentation.

At this point in the Ovale life cycle, it is primarily concerned with
converting SimulationCraft profiles into scripts, and the SimulationCraft
profiles are really only generated for DPS classes and specs.

Also remove reference to Fluid Druid kitty forums as the script there is
maintained within Nerien's Ovale Scripts.
------------------------------------------------------------------------
r693 | jlam | 2013-02-15 22:13:38 +0000 (Fri, 15 Feb 2013) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Update the list of dispellable Enrage effects.
------------------------------------------------------------------------
r692 | jlam | 2013-02-15 22:13:19 +0000 (Fri, 15 Feb 2013) | 1 line
Changed paths:
   M /trunk/OvaleOptions.lua

Split ``debug'' into separate toggles to make options panel prettier.
------------------------------------------------------------------------
r691 | jlam | 2013-02-15 22:12:53 +0000 (Fri, 15 Feb 2013) | 1 line
Changed paths:
   M /trunk/OvaleBestAction.lua

Fix Lua error: check for nil before using values.
------------------------------------------------------------------------
r689 | jlam | 2013-02-13 19:55:14 +0000 (Wed, 13 Feb 2013) | 22 lines
Changed paths:
   M /trunk/Ovale.toc
   M /trunk/OvaleAura.lua
   M /trunk/OvaleBestAction.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleOptions.lua
   A /trunk/OvaleStance.lua
   M /trunk/OvaleState.lua

Fix ticket #209 regarding stance numbers.

There are occasions where the order of stances on the stance/shapeshift
bar differ between Mac and PC, which causes problems in scripts that
reference stance numbers (indices).

Implement new module OvaleStance to track stance and mastery changes.
OvaleStance maps stance indices (in the stance bar) to Ovale stance names
in a locale-independent way.

The list of stance names is available by running "/ovale stance", e.g.:

    druid_bear_form
    druid_cat_form
    monk_stance_of_the_sturdy_ox
    monk_stance_of_the_fierce_tiger
    warrior_battle_stance

These stance names can be used in place of the stance indices, e.g.:

    unless Stance(monk_stance_of_the_sturdy_ox)
        Spell(stance_of_the_sturdy_ox)
------------------------------------------------------------------------
r687 | jlam | 2013-02-09 20:17:51 +0000 (Sat, 09 Feb 2013) | 1 line
Changed paths:
   M /trunk/OvaleAura.lua
   M /trunk/OvaleState.lua

Update copyright due to recent changes.
------------------------------------------------------------------------
r686 | jlam | 2013-02-09 20:17:45 +0000 (Sat, 09 Feb 2013) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Fix documentation for IsFriend(), TickTime() and TimeToDie() conditions.
------------------------------------------------------------------------
r685 | jlam | 2013-02-09 20:17:38 +0000 (Sat, 09 Feb 2013) | 6 lines
Changed paths:
   M /trunk/OvaleBestAction.lua
   M /trunk/OvaleCondition.lua

Fix error in how variable quantities are added and subtracted.

The values should be appropriately scaled by the origins in the case where
the quantities are "parallel" to each other.

Also fix NextTick() condition to account for the math correction.
------------------------------------------------------------------------
r683 | jlam | 2013-02-09 07:02:47 +0000 (Sat, 09 Feb 2013) | 1 line
Changed paths:
   M /trunk/OvaleAura.lua
   M /trunk/OvaleState.lua

Fix long-standing typo that may have caused bugs in Other*() conditions.
------------------------------------------------------------------------
r682 | jlam | 2013-02-09 07:02:40 +0000 (Sat, 09 Feb 2013) | 8 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleOptions.lua

Save debug flags in the profile to persist them across sessions.

Remove "debugflags" and "toggledebug" command actions since the flags are
toggled and saved from the main Ovale options panel.

Rename "debug" command action to "power".

Use "debug" commnd action to open the Ovale debug options panel.
------------------------------------------------------------------------
r681 | jlam | 2013-02-09 07:02:33 +0000 (Sat, 09 Feb 2013) | 9 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleData.lua

Don't fill the spellbook with missing spells before compiling new script.

Before this change, the spellbook (OvaleData.spellList) would be populated
with entries found from a previous script compilation, which may have
changed after the event SPELLS_CHANGED is received.

This change makes filling the spellbook with missing spells found in the
script happen *after* the script is compiled, and moves the responsibility
into OvaleCompile:Compile().
------------------------------------------------------------------------
r680 | jlam | 2013-02-09 07:02:25 +0000 (Sat, 09 Feb 2013) | 1 line
Changed paths:
   M /trunk/OvaleBestAction.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleEquipement.lua

Update copyrights of files touched in 2013.
------------------------------------------------------------------------
r678 | jlam | 2013-02-02 17:13:42 +0000 (Sat, 02 Feb 2013) | 13 lines
Changed paths:
   M /trunk/OvaleEquipement.lua

Add Tier 14 gear for all classes.

Only tier gear whose set bonuses affect either the cooldown or duration of
spells are tracked.

Make the names of the Tier 14 item sets for hybrid classes more like the
names used in SimC by appending one of the following suffices to the
standard "T14" name:

	_caster, _heal, _melee, _tank

This allows for differentiating, for example, between a druid wearing 4
pieces of feral gear versus 4 pieces of guardian gear.
------------------------------------------------------------------------
r676 | jlam | 2013-02-01 15:17:19 +0000 (Fri, 01 Feb 2013) | 6 lines
Changed paths:
   M /trunk/OvaleData.lua

Fix ticket 207 - new spell ID under magic_vulnerability.

This adds the aura ID of ``Soulburn: Curse of the Elements'' to the
``magic_vulnerability'' spell list.

Thanks to @napgravy for the fix provided in the ticket.
------------------------------------------------------------------------
r675 | jlam | 2013-02-01 15:11:59 +0000 (Fri, 01 Feb 2013) | 24 lines
Changed paths:
   M /trunk/OvaleBestAction.lua

Fix ``wait'' nodes that are part of ``if'' and ``unless'' nodes.

Slightly change the way that the ``wait'' node is flagged by directly
setting and clearing a flag instead of fiddling with a negative/positive
priority.  This is simpler and more clear.

Only clear ``wait'' flag in elements returned from ``if'' and ``unless''.
This fixes ``wait'' to work as expected in the following example:

    {
        if Conditions()
            wait if PoolingConditions() Actions()
        MoreActions()
    }

If Conditions() is false, then treat the ``wait'' like it's not there and
fall through to MoreActions().

If Conditions() is true, then wait for ``if PoolingConditions() Actions()''
to be true and stop processing the script at that point.

Before this fix, ``wait'' was tainting the element returned by the ``if''
so that the entire group stopped processing at the wait statement,
regardless of the return value of Conditions().
------------------------------------------------------------------------
r674 | jlam | 2013-02-01 15:11:30 +0000 (Fri, 01 Feb 2013) | 4 lines
Changed paths:
   M /trunk/OvaleData.lua

Add ``bleed'' debuff spell list.

You can now use ``target.DebuffPresent(bleed)'' to verify that a bleed
effect is on the target, which causes additional damage for some attacks.
------------------------------------------------------------------------
r673 | jlam | 2013-02-01 15:11:02 +0000 (Fri, 01 Feb 2013) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Sort the buffSpellList table into categories.
------------------------------------------------------------------------
