Quantcast

Fix for ticket 161.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2012-09-18 00:03:40
Author local date 2012-09-18 00:03:40 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2012-09-18 00:03:40
Committer local date 2012-09-18 00:03:40 +0000
Commit 38c0b9f6386ebb9c48758161f9996b7ea348a5e2
Tree cec2d2a98cb3b9445766a1f7b5bd6708fce1b2c2
Parent 03c9a6ebbbf376e2789fc6f0f00d3a9702864f7e
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.

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