------------------------------------------------------------------------
r587 | jlam | 2012-10-11 01:24:30 +0000 (Thu, 11 Oct 2012) | 1 line
Changed paths:
   A /tags/5.0.12 (from /trunk:586)

Tagging as 5.0.12
------------------------------------------------------------------------
r586 | jlam | 2012-10-11 01:22:35 +0000 (Thu, 11 Oct 2012) | 4 lines
Changed paths:
   M /trunk/OvaleCondition.lua

Add EnergyRegen() and FocusRegen() conditions.

These correspond to the SimulationCraft action list properties
energy.regen and focus.regen, respectively.
------------------------------------------------------------------------
r585 | jlam | 2012-10-11 01:22:21 +0000 (Thu, 11 Oct 2012) | 6 lines
Changed paths:
   M /trunk/OvaleCondition.lua

Fix for ticket 179.

Add new condition "HasWeapon" to test for presence of a weapon in the
named slot (mainhand or offhand).

Also fix some yesno parameter descriptions.
------------------------------------------------------------------------
r584 | jlam | 2012-10-11 01:22:06 +0000 (Thu, 11 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Support monk statues (actually totems in-game) in totem conditions.
------------------------------------------------------------------------
r583 | jlam | 2012-10-11 01:21:53 +0000 (Thu, 11 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Word-wrap comments for readability.
------------------------------------------------------------------------
r582 | jlam | 2012-10-11 01:21:37 +0000 (Thu, 11 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleBestAction.lua

Fix trace when the best group element doesn't have params array.
------------------------------------------------------------------------
r581 | jlam | 2012-10-04 02:08:05 +0000 (Thu, 04 Oct 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Minor fixes to condition documentation.
------------------------------------------------------------------------
r579 | jlam | 2012-09-29 05:29:30 +0000 (Sat, 29 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Fix TimeToMaxEnergy().
------------------------------------------------------------------------
r578 | jlam | 2012-09-28 13:23:14 +0000 (Fri, 28 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Fix aura ID for monk's Legacy of the Emporer buff.
------------------------------------------------------------------------
r577 | jlam | 2012-09-28 00:59:19 +0000 (Fri, 28 Sep 2012) | 10 lines
Changed paths:
   M /trunk/OvaleAura.lua
   M /trunk/OvaleBestAction.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleState.lua

Cache the player's current mastery (specialization) and stance.

Use the cached stance information instead of calling the WoW function
GetShapeshiftForm().

Correctly set the energy regeneration for Brewmaster Monks in Stance of
the Sturdy Ox (increased by 10%).

All monks in Stance of the Fierce Tiger will generate one extra Chi per
Jab Expel Harm.
------------------------------------------------------------------------
r576 | jlam | 2012-09-28 00:58:58 +0000 (Fri, 28 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleState.lua

Bound combo points at 5.
------------------------------------------------------------------------
r575 | jlam | 2012-09-27 17:09:02 +0000 (Thu, 27 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Add missing @name LuaDoc tag for the "Speed" condition.
------------------------------------------------------------------------
r574 | jlam | 2012-09-27 17:00:27 +0000 (Thu, 27 Sep 2012) | 8 lines
Changed paths:
   M /trunk/OvaleCondition.lua

Add in-line documentation for the script conditions.

The documentation on the CurseForge addon project page will be generated
automatically from the comments using LuaDoc.

Most of the conditions have been documented.  There are still a few
undocumented conditions that have been deprecated in favor of more
recently added conditions.
------------------------------------------------------------------------
r572 | jlam | 2012-09-26 15:22:37 +0000 (Wed, 26 Sep 2012) | 7 lines
Changed paths:
   M /trunk/defaut/Chaman.lua
   M /trunk/defaut/Chasseur.lua
   M /trunk/defaut/Voleur.lua

burst haste buff is no longer named "bloodlust".

It should be referred to as "burst_haste", "bloodlust_aura", or
"heroism_aura".

Add bits to the default shaman script so that Alliance shamans are told to
cast Heroism at the right time.
------------------------------------------------------------------------
r571 | jlam | 2012-09-25 16:08:40 +0000 (Tue, 25 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Prettify the documentation for optional parameters to conditions.
------------------------------------------------------------------------
r570 | jlam | 2012-09-25 15:55:27 +0000 (Tue, 25 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Abuse @paramsig to say what type of value is returned.
------------------------------------------------------------------------
r569 | jlam | 2012-09-25 15:50:04 +0000 (Tue, 25 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Prettify the generated documentation for conditions.
------------------------------------------------------------------------
r568 | jlam | 2012-09-25 15:32:36 +0000 (Tue, 25 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

LuaDoc wants @param to be one word, not word=value.
------------------------------------------------------------------------
r567 | jlam | 2012-09-25 15:23:22 +0000 (Tue, 25 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Document some of the conditions for testing purposes.
------------------------------------------------------------------------
r565 | sidoine | 2012-09-24 21:28:52 +0000 (Mon, 24 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleAura.lua

heroism renamed burst haste
------------------------------------------------------------------------
r563 | sidoine | 2012-09-24 21:24:47 +0000 (Mon, 24 Sep 2012) | 5 lines
Changed paths:
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleFrame.lua
   M /trunk/OvaleState.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/Pretre.lua
   M /trunk/defaut/Voleur.lua

all scripts have been updated using SC importer last version
DeadIn returned nil on boss target dummy
predicted aura on current spell cast was not always correct
getticklength was not working if tick was not set in spellinfo
bug with prediction and nil elements
------------------------------------------------------------------------
r562 | jlam | 2012-09-24 20:35:39 +0000 (Mon, 24 Sep 2012) | 10 lines
Changed paths:
   M /trunk/OvaleCondition.lua

Settle on template for LuaDoc commenting of conditions.

Use the following tags:

    @name ConditionName
    @paramsig
    @param param1 Description of first parameter.
    @param param2 Description of second parameter.
    @return Description of returned value.
    @usage Example uses of the condition in a script.
------------------------------------------------------------------------
r561 | jlam | 2012-09-24 20:18:53 +0000 (Mon, 24 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Test dropping @name from LuaDoc comments.
------------------------------------------------------------------------
r560 | jlam | 2012-09-24 20:11:59 +0000 (Mon, 24 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Final pass at template for LuaDoc for conditions.
------------------------------------------------------------------------
r559 | jlam | 2012-09-24 20:08:14 +0000 (Mon, 24 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Test empty @paramsig.
------------------------------------------------------------------------
r558 | jlam | 2012-09-24 20:04:30 +0000 (Mon, 24 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Test if indentation affects the generated LuaDoc.
------------------------------------------------------------------------
r557 | jlam | 2012-09-24 20:01:27 +0000 (Mon, 24 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Strip extra leading and trailing parens from @paramsig.
------------------------------------------------------------------------
r556 | jlam | 2012-09-24 19:55:43 +0000 (Mon, 24 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Use @paramsig to specify the correct params for ArmorSetParts.
------------------------------------------------------------------------
r555 | jlam | 2012-09-24 19:44:46 +0000 (Mon, 24 Sep 2012) | 1 line
Changed paths:
   M /trunk/.docmeta
   M /trunk/OvaleCondition.lua

Test using LuaDoc to generate documentation for conditions.
------------------------------------------------------------------------
r554 | jlam | 2012-09-24 18:43:33 +0000 (Mon, 24 Sep 2012) | 23 lines
Changed paths:
   M /trunk/OvaleData.lua
   M /trunk/defaut/Chaman.lua
   M /trunk/defaut/Demoniste.lua
   M /trunk/defaut/Druide.lua
   M /trunk/defaut/Guerrier.lua
   M /trunk/defaut/Paladin.lua
   M /trunk/defaut/Pretre.lua

Fix some raid buff checks so that they may be cast by anyone.

The affected buffs/debuffs are:

    mastery
    str_agi_int
    stamina
    spell_power_multiplier
    weakened_blows

Rename the buff aliases for burst_haste:

    bloodlust -> bloodlust_aura
    heroism -> heroism_aura

This should allow shaman scripts for both Alliance and Horde to define the
spell names with the same names granting buffs of the same name.  When
checking for the burst_haste buff, use one of the following buff class
names:

    burst_haste
    bloodlust_aura
    heroism_aura
------------------------------------------------------------------------
r553 | jlam | 2012-09-24 18:13:39 +0000 (Mon, 24 Sep 2012) | 1 line
Changed paths:
   A /trunk/.docmeta
   A /trunk/README.md

Generate the project description from a README file.
------------------------------------------------------------------------
r552 | jlam | 2012-09-24 14:45:59 +0000 (Mon, 24 Sep 2012) | 4 lines
Changed paths:
   M /trunk/Ovale.toc

Use the "project_version" repository keyword replacement for TOC version.

Ovale is packaged when tagged as beta or release, and "project_version" is
replaced with the tag name in that case.
------------------------------------------------------------------------
r551 | sidoine | 2012-09-23 21:31:08 +0000 (Sun, 23 Sep 2012) | 1 line
Changed paths:
   M /trunk/Ovale.toc

update toc
------------------------------------------------------------------------
r550 | sidoine | 2012-09-23 21:30:27 +0000 (Sun, 23 Sep 2012) | 3 lines
Changed paths:
   M /trunk/OvaleData.lua
   M /trunk/defaut/Guerrier.lua
   M /trunk/defaut/Paladin.lua

paladin: wait icon is optional
warrior: ability shown only if rage is sufficient
protection warrior: script imported from simulationcraft
------------------------------------------------------------------------
r549 | sidoine | 2012-09-23 20:31:26 +0000 (Sun, 23 Sep 2012) | 1 line
Changed paths:
   M /trunk/defaut/Pretre.lua

Shadow form fix
------------------------------------------------------------------------
r548 | sidoine | 2012-09-23 20:25:22 +0000 (Sun, 23 Sep 2012) | 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/Mage.lua
   M /trunk/defaut/Moine.lua
   M /trunk/defaut/Paladin.lua
   M /trunk/defaut/Pretre.lua
   M /trunk/defaut/Voleur.lua

imported SimulationCraft 505-1
------------------------------------------------------------------------
r546 | jlam | 2012-09-23 19:14:17 +0000 (Sun, 23 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Add Master of Subtlety self-damage buff for sub rogues.
------------------------------------------------------------------------
r545 | jlam | 2012-09-23 03:29:37 +0000 (Sun, 23 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCompile.lua

Allow underscores in SpellList() names.
------------------------------------------------------------------------
r544 | jlam | 2012-09-23 03:29:23 +0000 (Sun, 23 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleState.lua

Rogue Shadow Blades ability causes an extra combo point to be generated.
------------------------------------------------------------------------
r543 | jlam | 2012-09-22 04:37:22 +0000 (Sat, 22 Sep 2012) | 6 lines
Changed paths:
   M /trunk/OvaleData.lua

Update raid buff & debuff lists.

Information taken from Mists of Pandaria Buffs and Debuffs guide on
Wowhead:

    http://www.wowhead.com/guide=1100
------------------------------------------------------------------------
r542 | jlam | 2012-09-22 04:37:07 +0000 (Sat, 22 Sep 2012) | 4 lines
Changed paths:
   M /trunk/OvaleCompile.lua

Fix off-by-one error in itemcount condition.

"itemset=T14 itemcount=2" should mean that at least 2 pieces of T14 are
required.
------------------------------------------------------------------------
r541 | jlam | 2012-09-22 04:36:50 +0000 (Sat, 22 Sep 2012) | 6 lines
Changed paths:
   M /trunk/OvaleData.lua

Change semantics of DoT durations to match game defaults.

By default, abilities that consume combo points to apply a DoT of varying
length will be listed in the spell database with a "0 CP" duration.  For
these DoTs, set the SpellInfo() with "duration" equal to this "0 CP"
duration.
------------------------------------------------------------------------
r539 | jlam | 2012-09-21 14:25:29 +0000 (Fri, 21 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleCondition.lua

Fix bug in r538: Ovale.state.combo -> OvaleState.state.combo.
------------------------------------------------------------------------
r538 | jlam | 2012-09-21 14:03:32 +0000 (Fri, 21 Sep 2012) | 6 lines
Changed paths:
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua

Fix for ticket 165.

Fix use of missing global 'duration' in OvaleCondition.lua.

Extend OvaleData:GetDuration() to also return the tick length for
efficiency.
------------------------------------------------------------------------
r536 | jlam | 2012-09-21 05:01:57 +0000 (Fri, 21 Sep 2012) | 1 line
Changed paths:
   A /trunk/LICENSE.txt
   M /trunk/Ovale.lua
   M /trunk/OvaleActionBar.lua
   M /trunk/OvaleAura.lua
   M /trunk/OvaleBestAction.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/OvaleRecount.lua
   M /trunk/OvaleSkada.lua
   M /trunk/OvaleSpellDamage.lua
   M /trunk/OvaleState.lua

Note the copyright and license under which Ovale is distributed.
------------------------------------------------------------------------
r535 | jlam | 2012-09-21 05:01:44 +0000 (Fri, 21 Sep 2012) | 23 lines
Changed paths:
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleState.lua

Fix for ticket 163.

* Add GetDuration(id) and GetTickLength(id, haste) methods to OvaleData to
  extract the correct numbers from the given spell's info.  These numbers
  are fixed up for magic DoTs as regards to spell haste.

* Modify OvaleData:GetDamage() to use named arguments to be slightly more
  clear.

* Teach OvaleState how to properly extend a DoT by allowing the next tick
  of the previous DoT (at the previous spell haste) before adding the
  duration of the new DoT with new snapshotted stats.

  Right now, it is assumed that a DoT that gets refreshed by another spell
  gets a new snapshot of the player's stats when refreshed.

* The duration calculation for OvaleState:GetTargetAura() is wrong.

  It doesn't take into account the spell haste of the aura and any
  additions to the duration through combo points or holy power, nor any
  DoT extensions.

* Fix the nexttick, ticks, ticksremain, and ticktime conditions.
------------------------------------------------------------------------
r534 | jlam | 2012-09-21 05:01:31 +0000 (Fri, 21 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleAura.lua

Access public data directly.
------------------------------------------------------------------------
r533 | jlam | 2012-09-21 05:01:19 +0000 (Fri, 21 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Savage Roar damage buff comes in glyphed and unglyphed versions.
------------------------------------------------------------------------
r532 | jlam | 2012-09-21 05:01:05 +0000 (Fri, 21 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleAura.lua

Haste effects are multiplicative, not additive.
------------------------------------------------------------------------
r531 | jlam | 2012-09-21 05:00:51 +0000 (Fri, 21 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Add combat rogue melee haste buff (Adrenaline Rush).
------------------------------------------------------------------------
r529 | jlam | 2012-09-18 03:07:38 +0000 (Tue, 18 Sep 2012) | 5 lines
Changed paths:
   M /trunk/OvaleCondition.lua

Add IsAggroed() function.

TargetIsAggroed() can be used to check if the target's primary target is
the player, regardless of if the target is momentarily targeting another
toon.
------------------------------------------------------------------------
r528 | jlam | 2012-09-18 02:31:30 +0000 (Tue, 18 Sep 2012) | 7 lines
Changed paths:
   M /trunk/OvaleCondition.lua

Add SpellCharges(id) and SpellChargeCooldown(id) conditions.

SpellCharges(id) returns the remaining number of charges of the given
spell.

SpellChargeCooldown(id) returns the remaining CD before another charge is
added to the spell.
------------------------------------------------------------------------
r527 | jlam | 2012-09-18 00:03:40 +0000 (Tue, 18 Sep 2012) | 12 lines
Changed paths:
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleFuture.lua

Fix for ticket 161.

Don't multiply the damage multiplier by the number of combo points used by
a combo finisher.  That's too simplistic given the variety of formulas for
scaling the finisher to both combo points and current attack power.

Add OvaleData:GetDamage() that returns the estimated damage for the given
spell using the information from SpellInfo().

Add new script conditions LastSpellEstimatedDamage(id) and
LastSpellComboPoints(id) that return the estimated damage and the number
of combo points consumed by the last cast of spell id, respectively.
------------------------------------------------------------------------
r526 | jlam | 2012-09-17 16:01:59 +0000 (Mon, 17 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleData.lua

Add some rogue self-damage buffs.
------------------------------------------------------------------------
r524 | jlam | 2012-09-16 16:45:07 +0000 (Sun, 16 Sep 2012) | 23 lines
Changed paths:
   M /trunk/OvaleAura.lua
   M /trunk/OvaleCompile.lua
   M /trunk/OvaleCondition.lua
   M /trunk/OvaleData.lua
   M /trunk/OvaleFuture.lua

Fix for ticket 135.

* Add additional druid "self" buffs that increase damage done.

* Add Mastery() and LastSpellMastery(id) script conditions

* Track the mastery information at the time a spell is cast.

* Add a SpellData(id key) script condition that takes two parameters, a
  spell ID and a key, and returns the data associated with that key from
  the SpellInfo() for that spell ID.

  SpellInfo()/SpellData() can be used together to stash and retrieve extra
  spell information that may be referenced within the script.

* Get the damage multiplier using OvaleAura:GetDamageMultiplier(spellId),
  which factors in the multipliers for the presence of the buffs and
  debuffs in the given spell's damageAura table (from OvaleData).

* Add new script statements SpellDamageBuff() and SpellDamageDebuff(),
  which take a spellId followed by a list of aura1=x1, aura2=x2, etc.,
  where auraN is the aura spell ID and xN is the damage multiplier if
  auraN is present.
------------------------------------------------------------------------
r523 | jlam | 2012-09-15 23:48:23 +0000 (Sat, 15 Sep 2012) | 1 line
Changed paths:
   M /trunk/OvaleOptions.lua

Fade out the "Restore default" button if using the default script.
------------------------------------------------------------------------
r521 | jlam | 2012-09-14 22:45:40 +0000 (Fri, 14 Sep 2012) | 6 lines
Changed paths:
   M /trunk/OvaleAura.lua

Fix for ticket 159.

OvaleAura needs to update the number of stacks of an aura if it differs
from the previous number, not just if it has increased.  This fixes the
problem of BuffStacks() not showing stack counts correctly when they
decrease.
------------------------------------------------------------------------
r520 | jlam | 2012-09-14 22:40:09 +0000 (Fri, 14 Sep 2012) | 10 lines
Changed paths:
   M /trunk/OvaleCompile.lua

Fix for ticket 156.

Modify ParseFunction() to check for Spell() and SpellCooldown() statements
in the script and check if the given spell ID is in the spellbook or not.
If it's not, then see if it matches another spell with the same name that
is in the spellbook.  If so, then add that spell ID to the OvaleData
spellbook.

Track the function nodes with unknown spell IDs in a list and tag the
unknown spell IDs with ":unknown" when invoking DebugNode().
------------------------------------------------------------------------
r519 | sidoine | 2012-08-30 19:13:52 +0000 (Thu, 30 Aug 2012) | 1 line
Changed paths:
   M /trunk/OvaleBestAction.lua

allows division
------------------------------------------------------------------------
