------------------------------------------------------------------------
r643 | jlam | 2012-11-27 23:29:00 +0000 (Tue, 27 Nov 2012) | 1 line
Changed paths:
   A /tags/5.0.24 (from /trunk:641)

Tagging as 5.0.24 release.
------------------------------------------------------------------------
r641 | jlam | 2012-11-27 00:20:26 +0000 (Tue, 27 Nov 2012) | 19 lines
Changed paths:
   M /trunk/OvaleState.lua

Fix ticket 184 by limiting when OvaleState updates auras.

The purpose of OvaleState is to take the current game state and tweak it
to reflect the effects of the spell being cast in the simulator.

There are three phases to a spell being cast:

  (1) Spell cast started.
  (2) Spell is casting.
  (3) Spell cast finished and traveling to target (in flight).

We always update auras for cases (1) and (2).  However, we now insert a
check so that we only update auras in case (3) if it's not a player aura.
Player auras are updated by the game as soon as a spell cast is finished,
so OvaleState doesn't need to do anything to see the player's correct
auras while the spell is still traveling to the target.  It's different
for target auras because the game has to see if the spell will hit or not
before updating the target's auras, so we still need to account for the
spell effects while it's in flight to the target.
------------------------------------------------------------------------
r639 | jlam | 2012-11-24 04:38:59 +0000 (Sat, 24 Nov 2012) | 1 line
Changed paths:
   M /trunk/OvaleState.lua

Fix a copy-and-paste error.
------------------------------------------------------------------------
r637 | jlam | 2012-11-23 17:16:42 +0000 (Fri, 23 Nov 2012) | 1 line
Changed paths:
   M /trunk/OvaleState.lua

Reimplement aura-handling in OvaleState:AddSpellToStack().
------------------------------------------------------------------------
r636 | jlam | 2012-11-23 17:16:33 +0000 (Fri, 23 Nov 2012) | 10 lines
Changed paths:
   M /trunk/Ovale.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleFrame.lua

Remove split compilation and use a single pass for compiling again.

Back out part of r604 that split compilation into a "quick" part and
an expensive part.  The more efficient method in r606 for searching
and replacing defines with key values seems to have fixed the slow
compilation enough that it fits within the Lua execution window.

Re-merging the compilation phases fixes some issues with Ovale not
properly updating the script when a toon levels, as well as some
other edge cases.
------------------------------------------------------------------------
r633 | jlam | 2012-10-28 23:58:11 +0000 (Sun, 28 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleAura.lua

Avoid nil GUIDs.
------------------------------------------------------------------------
r632 | jlam | 2012-10-28 23:48:35 +0000 (Sun, 28 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleAura.lua

Avoid nil unit IDs.
------------------------------------------------------------------------
r630 | jlam | 2012-10-28 22:02:05 +0000 (Sun, 28 Oct 2012) | 3 lines
Changed paths:
   M /trunk/OvaleAura.lua
   M /trunk/OvaleCondition.lua

Cache aura values if available when updating auras on units.

Use the cached values in TickValue() script condition.
------------------------------------------------------------------------
r629 | jlam | 2012-10-28 22:01:50 +0000 (Sun, 28 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleAura.lua

Fix ticket 186 & re-enable CLEU event handler for *target unit IDs.
------------------------------------------------------------------------
r627 | jlam | 2012-10-27 03:04:45 +0000 (Sat, 27 Oct 2012) | 12 lines
Changed paths:
   M /trunk/OvaleAura.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua

Major bug fix for aura-tracking.

- CLEU events don't fire properly when auras are not directly refreshed,
  e.g., refreshed by a spell other than the one that applies it.  Switch
  to using UNIT_AURA events instead for all "primary" unit IDs and only
  use the less accurate CLEU events for *target unit IDs.

- Fix missing detection of filtered buffs.

- Add new tables auraConditions & spellbookConditions that list conditions
  that refer to aura IDs or player's spell IDs.  These are used by the
  script compiler to tag spell IDs for further processing.
------------------------------------------------------------------------
