From 09379e6d5b88c05a45de73157660a47dda68f417 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Mon, 21 Apr 2014 05:03:15 +0000 Subject: [PATCH] Remove support for CanStopChannelling(...) statement. The syntax for it no longer matches the canStopChannelling parameter of SpellInfo(...). git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1311 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCompile.lua | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/OvaleCompile.lua b/OvaleCompile.lua index 912986a..6512181 100644 --- a/OvaleCompile.lua +++ b/OvaleCompile.lua @@ -685,17 +685,6 @@ local function ParseAddIcon(params, text, secure) end end -local function ParseCanStopChannelling(text) - local spellId = tonumber(text) - if spellId then - local si = OvaleData:SpellInfo(spellId) - si.canStopChannelling = true - else - Ovale:FormatPrint("CanStopChannelling with unknown spell %s", text) - end - return "" -end - local function ParseItemName(text) local itemId = tonumber(text) if itemId then @@ -747,7 +736,6 @@ local function CompileDeclarations(text) -- Options diverses OvaleData:ResetSpellInfo() - text = strgsub(text, "CanStopChannelling%s*%(%s*(%w+)%s*%)", ParseCanStopChannelling) text = strgsub(text, "SpellAddBuff%s*%((.-)%)", ParseSpellAddBuff) text = strgsub(text, "SpellAddDebuff%s*%((.-)%)", ParseSpellAddDebuff) text = strgsub(text, "SpellAddTargetDebuff%s*%((.-)%)", ParseSpellAddTargetDebuff) -- 1.7.9.5