Activate SpellAddTargetBuff() declaration for completeness.
Johnny C. Lam [05-03-14 - 23:17]
Activate SpellAddTargetBuff() declaration for completeness.
All of the other player/target and buff/debuff combinations are already
working. Support for this was added in a previous commit but not
activated.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1366 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvaleCompile.lua b/OvaleCompile.lua
index 580a44b..f8142ed 100644
--- a/OvaleCompile.lua
+++ b/OvaleCompile.lua
@@ -767,6 +767,7 @@ local function CompileDeclarations(text)
OvaleData:ResetSpellInfo()
text = strgsub(text, "SpellAddBuff%s*%((.-)%)", ParseSpellAddBuff)
text = strgsub(text, "SpellAddDebuff%s*%((.-)%)", ParseSpellAddDebuff)
+ text = strgsub(text, "SpellAddTargetBuff%s*%((.-)%)", ParseSpellAddTargetBuff)
text = strgsub(text, "SpellAddTargetDebuff%s*%((.-)%)", ParseSpellAddTargetDebuff)
text = strgsub(text, "SpellDamageBuff%s*%((.-)%)", ParseSpellDamageBuff)
text = strgsub(text, "SpellDamageDebuff%s*%((.-)%)", ParseSpellDamageDebuff)