Fix ticket 251 - crit functions don't update with Agi/Int changes.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@952 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Document additional implied script conditions.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@953 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix ticket 253 - Add an upper/lower limit to CritChance functions

Allow for an extra parameter "unlimited=1" that allows for the critical
strike chance returned by the following script conditions to exceed 100:

* BuffMeleeCritChance, DebuffMeleeCritChance
* BuffRangedCritChance, DebuffRangedCritChance
* BuffSpellCritChance, DebuffSpellCritChance
* CritChance, SpellCritChance
* MeleeCritChance
* RangedCritChance
* LastSpellMeleeCritChance
* LastSpellRangedCritChance
* LastSpellCritChance

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@954 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Rename LastSpell<StatName> conditions to Last<StatName>.

This makes the names of those script conditions slightly easier to
remember and use (at least for me) and less awkward to type.

Also make CritChance a direct alias of SpellCritChance since that is how
it's implemented.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@955 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix ticket 252 - LastSpellSpellPower not working

This was a code logic error: the broken code only updated the information
if the previous information existed, so it never saved any information as
a result.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@956 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix ticket 254 - InFlightToTarget

The InFlightToTarget script condition was not working due to an old
implementation bug from the MoP merge in 5.0.0 where it was ignoring the
spell ID parameter.

Fix this issue by putting parentheses in the proper places and reordering
for efficiency.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@957 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix ticket 166 - Option to add framestrata please

Set the Ovale frame strata to "MEDIUM", which is the same strata as
UIParent frame.  This should prevent Ovale from slipping behind UI
elements that depict the environment.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@958 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Set reasonable defaults for various player stats in case they are missing.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@959 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix typos in variable name that caused memory leaks in OvaleFuture.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@960 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Use Blizzard API to get the damage multiplier.

The damage multiplier numbers aren't accurate from just scanning buffs
because the tooltips aren't accurate.  For example, Savage Roar's tooltip
says 30% increase but it's actually 40% increase, and the Fluidity buff in
the Jin'Rohk encounter says 40% increase but in LFR it's actually 96%
increase.

git-svn-id: svn+ssh://svn.curseforge.net/wow/ovale/mainline/trunk@961 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Fix weapon damage calculations.

Calculate the average weapon damage of the currently equipped weapon by
working backwards from the melee damage on the character sheet.  This
avoids problems with damage stats on upgraded weapons.

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