Quantcast

Implement OvalePaperDoll class that tracks the in-game paper doll stats.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-02-22 09:21:31
Author local date 2013-02-22 09:21:31 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-02-22 09:21:31
Committer local date 2013-02-22 09:21:31 +0000
Commit 229d58b58196bceaeb76aab2825b0299743e9af7
Tree 50ee9f498c9b0d6c988939a4a5847dd8dc175d81
Parent 033d3e42460e764b14da1fc56d673e66cdd07642
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.

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