From d9b374935eef10a2b197e7853f8e39996f40a817 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Thu, 18 Apr 2013 23:43:56 +0000 Subject: [PATCH] Initialize a variable in a more clearly-documented way. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@905 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleCondition.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/OvaleCondition.lua b/OvaleCondition.lua index 9dcfe27..67ea46d 100644 --- a/OvaleCondition.lua +++ b/OvaleCondition.lua @@ -467,7 +467,12 @@ end OvaleCondition.conditions = {} -- List of script conditions that refer to a castable spell from the player's spellbook. -OvaleCondition.spellbookConditions = { spell = true } +OvaleCondition.spellbookConditions = {} + +do + -- Spell(spellId) can be used as a condition instead of an action. + OvaleCondition.spellbookConditions.spell = true +end -- Test if a white hit just occured -- 1 : maximum time after a white hit -- 1.7.9.5