Quantcast

Refactor power code into a new module OvalePower.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-09-28 12:49:40
Author local date 2013-09-28 12:49:40 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-09-28 12:49:40
Committer local date 2013-09-28 12:49:40 +0000
Commit 1b9d860e4d0674f9fe67f23b303a63e971d8b231
Tree 4f21e49066928b529512321d287fb669bda54e4e
Parent 11b234ce7c2ff720a9e5abe835c4e3ac387312ad
Refactor power code into a new module OvalePower.

- Split out power code from OvalePaperDoll and OvaleData into a separate
  module OvalePower.

- Enhance power code to track the maximum power of all power types.

- Add conditions Max<Power>() that return the maximum power of that power
  type, e.g., MaxRage, MaxEnergy, MaxChi, etc.  This closes ticket 291.

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