Access public data directly.
Johnny C. Lam [09-21-12 - 05:01]
Access public data directly.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@534 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvaleAura.lua b/OvaleAura.lua
index bddaadc..0320573 100644
--- a/OvaleAura.lua
+++ b/OvaleAura.lua
@@ -286,7 +286,7 @@ end
function OvaleAura:GetDamageMultiplier(spellId)
local damageMultiplier = baseDamageMultiplier
if spellId then
- local si = OvaleData:GetSpellInfo(spellId)
+ local si = OvaleData.spellInfo[spellId]
if si and si.damageAura then
self:UpdateAuras("player", self.playerGUID)
auraTable = self.aura[self.playerGUID]