Fix module dependencies for script conditions.
Johnny C. Lam [11-17-13 - 16:29]
Fix module dependencies for script conditions.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1190 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/conditions/AfterWhiteHit.lua b/conditions/AfterWhiteHit.lua
index 6db8a43..597b3ef 100644
--- a/conditions/AfterWhiteHit.lua
+++ b/conditions/AfterWhiteHit.lua
@@ -12,6 +12,7 @@ local _, Ovale = ...
do
local OvaleCondition = Ovale.OvaleCondition
+ local OvaleState = Ovale.OvaleState
local OvaleSwing = Ovale.OvaleSwing
local TestValue = OvaleCondition.TestValue
diff --git a/conditions/DamageTaken.lua b/conditions/DamageTaken.lua
index 63a1720..7bf144a 100644
--- a/conditions/DamageTaken.lua
+++ b/conditions/DamageTaken.lua
@@ -11,7 +11,7 @@ local _, Ovale = ...
do
local OvaleCondition = Ovale.OvaleCondition
- local OvaleDamage = Ovale.OvaleDamage
+ local OvaleDamageTaken = Ovale.OvaleDamageTaken
local Compare = OvaleCondition.Compare
diff --git a/conditions/HasTrinket.lua b/conditions/HasTrinket.lua
index c887d99..a970a08 100644
--- a/conditions/HasTrinket.lua
+++ b/conditions/HasTrinket.lua
@@ -11,6 +11,7 @@ local _, Ovale = ...
do
local OvaleCondition = Ovale.OvaleCondition
+ local OvaleData = Ovale.OvaleData
local OvaleEquipement = Ovale.OvaleEquipement
local pairs = pairs
diff --git a/conditions/LastDamage.lua b/conditions/LastDamage.lua
index 44267ca..6ba1a62 100644
--- a/conditions/LastDamage.lua
+++ b/conditions/LastDamage.lua
@@ -12,6 +12,7 @@ local _, Ovale = ...
do
local OvaleCondition = Ovale.OvaleCondition
+ local OvaleSpellDamage = Ovale.OvaleSpellDamage
local Compare = OvaleCondition.Compare
diff --git a/conditions/PreviousSpell.lua b/conditions/PreviousSpell.lua
index 521188a..8f94343 100644
--- a/conditions/PreviousSpell.lua
+++ b/conditions/PreviousSpell.lua
@@ -13,6 +13,7 @@ local _, Ovale = ...
do
local OvaleCondition = Ovale.OvaleCondition
local OvaleState = Ovale.OvaleState
+
local TestBoolean = OvaleCondition.TestBoolean
--- Test if the previous spell cast matches the given spell.
diff --git a/conditions/RuneCount.lua b/conditions/RuneCount.lua
index a1709ec..d67c49d 100644
--- a/conditions/RuneCount.lua
+++ b/conditions/RuneCount.lua
@@ -12,7 +12,6 @@ local _, Ovale = ...
do
local OvaleCondition = Ovale.OvaleCondition
- local OvaleRunes = Ovale.OvaleRunes
local OvaleState = Ovale.OvaleState
local Compare = OvaleCondition.Compare