Quantcast

Rename the parameter to add a spell to a list from "list" to "addlist".

Johnny C. Lam [10-23-13 - 07:20]
Rename the parameter to add a spell to a list from "list" to "addlist".

This fixes a collision between this new meaning and the original meaning,
which was to check whether "list=X item=Y" matches a list named "X" having
value "Y".

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1106 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleCompile.lua
diff --git a/OvaleCompile.lua b/OvaleCompile.lua
index 6b5108c..218fb63 100644
--- a/OvaleCompile.lua
+++ b/OvaleCompile.lua
@@ -357,7 +357,7 @@ local function ParseSpellInfo(params)
 				si.duration = si.duration + v
 			elseif k == "addcd" then
 				si.cd = si.cd + v
-			elseif k == "list" then
+			elseif k == "addlist" then
 				-- Add this buff to the named spell list.
 				if not OvaleData.buffSpellList[v] then
 					OvaleData.buffSpellList[v] = {}