------------------------------------------------------------------------
r765 | sidoine | 2013-03-13 22:47:41 +0000 (Wed, 13 Mar 2013) | 1 line
Changed paths:
   A /tags/5.2.11 (from /trunk:764)

tag 5.2.11
------------------------------------------------------------------------
r764 | sidoine | 2013-03-13 22:47:14 +0000 (Wed, 13 Mar 2013) | 1 line
Changed paths:
   M /trunk/defaut/Demoniste.lua

warlock: fix for misery which is different with each spec
------------------------------------------------------------------------
r763 | sidoine | 2013-03-13 22:25:57 +0000 (Wed, 13 Mar 2013) | 1 line
Changed paths:
   M /trunk/defaut/Pretre.lua

fix parenthesis in mind flay insanity
------------------------------------------------------------------------
r761 | sidoine | 2013-03-12 22:13:31 +0000 (Tue, 12 Mar 2013) | 1 line
Changed paths:
   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

Imported default from last simulationcraft scripts
------------------------------------------------------------------------
r759 | jlam | 2013-03-12 04:47:49 +0000 (Tue, 12 Mar 2013) | 1 line
Changed paths:
   M /trunk/Ovale.toc

Reorder Lua files to load in order of dependencies required.
------------------------------------------------------------------------
r758 | jlam | 2013-03-12 04:47:36 +0000 (Tue, 12 Mar 2013) | 6 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleAura.lua
   M /trunk/OvaleFrame.lua
   M /trunk/OvaleState.lua
   M /trunk/OvaleSwing.lua

Store the current time, updated per frame refresh, in Ovale.now.

Change the modules that update based on live events to use Ovale.now
instead of OvaleState.maintenant.  Ovale.now tracks the actual current
time.  OvaleState.maintenant tracks the time of the simulation which can
lag behind due to the update interval set in the options.
------------------------------------------------------------------------
r757 | jlam | 2013-03-12 04:47:23 +0000 (Tue, 12 Mar 2013) | 9 lines
Changed paths:
   M /trunk/OvaleBestAction.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleState.lua

Improve encapsulation of OvaleData.

Split out OvaleData:GetComputedSpellCD() into a new method GetSpellCD()
which queries the Blizzard API, and a second portion moved to
OvaleState:GetComputedSpellCD() that checks the frame state for any spell
CDs found there.  This de-couples OvaleData from OvaleState.

Use OvaleState:GetComputedSpellCD() in place of the removed
OvaleData:GetComputedSpellCD() in the various Ovale modules.
------------------------------------------------------------------------
r756 | jlam | 2013-03-12 04:47:10 +0000 (Tue, 12 Mar 2013) | 10 lines
Changed paths:
   M /trunk/OvaleBestAction.lua
   M /trunk/OvaleFuture.lua
   M /trunk/OvaleState.lua

Improve encapsulation of OvaleFuture.

Add new method to OvaleFuture that generates an iterator for other modules
to walk the list of spells that are cast or are in flight to their
targets.  Make the list of active spells private since it doesn't need to
be accessed outside of OvaleFuture.

Use the iterator in OvaleState to apply the spell effects of those
travelling spells, and remove OvaleFuture:Apply() since it is no longer
needed.  This de-couples OvaleFuture from OvaleState.
------------------------------------------------------------------------
r755 | jlam | 2013-03-12 04:46:56 +0000 (Tue, 12 Mar 2013) | 7 lines
Changed paths:
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleOptions.lua
   M /trunk/OvalePaperDoll.lua
   M /trunk/OvaleScripts.lua
   M /trunk/OvaleState.lua

Improve encapsulation of OvalePaperDoll.

Track player class and level in OvalePaperDoll.  They are player stats,
in a way, and are available in the in-game paper doll.

Use player class and level from OvalePaperDoll in the other modules and
remove the same from OvaleData.
------------------------------------------------------------------------
r754 | jlam | 2013-03-12 04:46:43 +0000 (Tue, 12 Mar 2013) | 1 line
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleCompile.lua

Move debugging code for OvaleCompile into OvaleCompile module.
------------------------------------------------------------------------
r753 | jlam | 2013-03-12 04:46:30 +0000 (Tue, 12 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Document what are the return values for a script condition.
------------------------------------------------------------------------
r752 | jlam | 2013-03-12 04:46:17 +0000 (Tue, 12 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Guard against nil ending times for auras when computing DoT ticks.
------------------------------------------------------------------------
r751 | jlam | 2013-03-12 04:46:04 +0000 (Tue, 12 Mar 2013) | 23 lines
Changed paths:
   M /trunk/OvaleCondition.lua

Fix error in using "more" or "less" with decreasing values.

When using a script condition that has a decreasing value, e.g.,
BuffRemains(), the value is a function

    f(t) = value + (t - origin) * rate

where rate is negative.  When using the "more"/"less" comparators, e.g.,
BuffRemains(more 3), this effectively solves the following inequality:

    f(t) = value + (t - origin) * rate > 3

When the rate is negative, the inequality is reversed, and you end up
with:

   t < (3 - value)/rate + origin

Prior to this commit, Ovale was using the wrong answer of:

   t > (3 - value)/rate + origin

This had broken scripts that were using the verbose method of comparing
values.
------------------------------------------------------------------------
r749 | jlam | 2013-03-11 07:29:17 +0000 (Mon, 11 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Fix TicksRemain() condition.
------------------------------------------------------------------------
r747 | jlam | 2013-03-11 03:51:51 +0000 (Mon, 11 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleActionBar.lua

Use 2nd arg of RegisterEvent() instead of creating new event handlers.
------------------------------------------------------------------------
r746 | jlam | 2013-03-11 03:51:38 +0000 (Mon, 11 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Fix nil string in error reporting.
------------------------------------------------------------------------
r745 | jlam | 2013-03-11 03:51:26 +0000 (Mon, 11 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleState.lua

Fix focus regeneration calculation hunters.
------------------------------------------------------------------------
r744 | jlam | 2013-03-11 03:51:13 +0000 (Mon, 11 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvalePaperDoll.lua

Track ranged haste separately from melee haste in OvalePaperDoll.
------------------------------------------------------------------------
r743 | jlam | 2013-03-11 03:51:00 +0000 (Mon, 11 Mar 2013) | 5 lines
Changed paths:
   M /trunk/OvaleAura.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua

Back out parts of r625 and r627 to remove aura filtering changes.

We now track all auras on all units, just like all raid frame addons do,
instead of filtering away ones that aren't referenced in the current
script.
------------------------------------------------------------------------
r741 | jlam | 2013-03-09 18:45:14 +0000 (Sat, 09 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Fix using ItemList name in HasTrinket() condition.
------------------------------------------------------------------------
r739 | jlam | 2013-03-09 05:13:16 +0000 (Sat, 09 Mar 2013) | 7 lines
Changed paths:
   M /trunk/OvaleFuture.lua

Add debugging to OvaleFuture to allow tracing a particular spell's events.

Set OvaleFuture.traceSpellId to the ID of the spell that should be traced.
Debugging information from the game events that are triggered by that spell
are output to the chat window.

Set OvaleFuture.traceSpellId to ``nil'' to cancel tracing.
------------------------------------------------------------------------
r738 | jlam | 2013-03-09 05:13:08 +0000 (Sat, 09 Mar 2013) | 6 lines
Changed paths:
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleEquipement.lua
   M /trunk/OvaleState.lua

Cache all equipped items in OvaleEquipement.

Also add helper methods to OvaleEquipement to aid in common queries from
OvaleConditions, e.g., HasShield(), HasTrinket(id), etc., that find the
answers from the cached equipment.  This increases the efficiency of Ovale
scripts at run-time.
------------------------------------------------------------------------
r736 | jlam | 2013-03-08 01:31:04 +0000 (Fri, 08 Mar 2013) | 13 lines
Changed paths:
   M /trunk/OvaleAura.lua
   M /trunk/OvaleBestAction.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleEquipement.lua
   M /trunk/OvalePaperDoll.lua
   M /trunk/OvaleState.lua

Fix ticket #213 - Issue with Monk Energy Regeneration.

This fix has several parts.

Firstly, there was an error in energy regeneration calculations where the
percent haste effect wasn't properly scaled.

Secondly, the Way of the Monk passive effect will increase melee attack
speed by 40% but we have to remove it from the melee haste effect when
computing energy regeneration as that attack speed bonus has no effect.

OvaleEquipement has been extended to cache the weapon types of the
mainhand and offhand slots so that they may be easily checked.
------------------------------------------------------------------------
r735 | jlam | 2013-03-08 01:30:57 +0000 (Fri, 08 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Only monks in an energy-using stance have a 1s GCD.
------------------------------------------------------------------------
r734 | jlam | 2013-03-08 01:30:50 +0000 (Fri, 08 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Improvements to documentation for script conditions.
------------------------------------------------------------------------
r733 | jlam | 2013-03-08 01:30:43 +0000 (Fri, 08 Mar 2013) | 4 lines
Changed paths:
   M /trunk/OvaleEquipement.lua

Detect Tier 15 armor pieces with relevant bonuses.

Add "_melee", "_tank", "_caster" and "_heal" versions of T11, T12 and T13
armor set names for hybrid classes.
------------------------------------------------------------------------
r731 | jlam | 2013-03-05 19:45:41 +0000 (Tue, 05 Mar 2013) | 8 lines
Changed paths:
   M /trunk/OvaleData.lua
   M /trunk/OvaleState.lua
   M /trunk/defaut/Demoniste.lua

Make BurningEmbers() and SoulShards() match in-game tooltips.

This backs out r729 to make BurningEmbers() return between 0 and 40 and
modifies SoulShards() so that it again returns between 0 and 4.  This
matches the way the resources are tracked in-game via tooltips in terms of
spell cost.

Fix the default warlock script to match above usage.
------------------------------------------------------------------------
r729 | jlam | 2013-03-05 11:29:52 +0000 (Tue, 05 Mar 2013) | 7 lines
Changed paths:
   M /trunk/OvaleState.lua

Scale BurningEmbers() and SoulShards() to represent full resources.

BurningEmbers() and SoulShards() are always between 0 and 4 and partial
progress toward another full resource is represented by a fraction, e.g.
``BurningEmbers() >1.5'' means ``at least one and a half Burning Embers''.

This should break fewer existing warlock scripts.
------------------------------------------------------------------------
r728 | jlam | 2013-03-05 11:29:44 +0000 (Tue, 05 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleState.lua

Improve energy regeneration estimation for combat rogues.
------------------------------------------------------------------------
r726 | jlam | 2013-03-05 07:03:04 +0000 (Tue, 05 Mar 2013) | 1 line
Changed paths:
   M /trunk/Ovale.toc

Bump Interface in TOC for MoP 5.2 so that the addon isn't "out of date".
------------------------------------------------------------------------
r724 | jlam | 2013-03-05 06:18:26 +0000 (Tue, 05 Mar 2013) | 1 line
Changed paths:
   M /trunk/defaut/Chaman.lua
   M /trunk/defaut/Chasseur.lua
   M /trunk/defaut/Chevalier.lua
   M /trunk/defaut/Demoniste.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

Mark default Ovale scripts as generated for patch 5.2.
------------------------------------------------------------------------
r723 | jlam | 2013-03-05 06:05:15 +0000 (Tue, 05 Mar 2013) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Add HasTrinket(id) condition to test whether a trinket is equipped.
------------------------------------------------------------------------
r722 | jlam | 2013-03-05 06:05:08 +0000 (Tue, 05 Mar 2013) | 4 lines
Changed paths:
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleData.lua

Add ItemList(name id ...) that sets ``name'' to a list of item IDs.

This works in the same fashion as SpellList(name id ...) for assigning a
single name to a list of spell IDs.
------------------------------------------------------------------------
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)
------------------------------------------------------------------------
