Quantcast

Add OvaleCondition GetAura method that works on conditions parameters.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2013-03-24 09:17:46
Author local date 2013-03-24 09:17:46 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2013-03-24 09:17:46
Committer local date 2013-03-24 09:17:46 +0000
Commit dfbe80a8418457170934f8d7a5b2b2de6107d7d0
Tree 68b4fe253d909f7c51ee9ba11406603ed665f6cc
Parent 77f310fbf32e522458b3bcfae3f0cee4184c22e6
Add OvaleCondition GetAura method that works on conditions parameters.

This extracts the relevant information from condition parameters and
forwards them onward to OvaleState:GetAura() and has the same return
values.

Drop GetTargetAura and getAura local functions that are now unused.

This simplifies the code and better highlights the parallels between
OvaleAura, OvaleState, and OvaleCondition.

Change getTarget local function to take a condition paramter table
like all other similarly named methods.

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