Quantcast

faerie fire is optional

Sidoine De Wispelaere [12-02-12 - 12:18]
faerie fire is optional

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@657 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
defaut/Druide.lua
diff --git a/defaut/Druide.lua b/defaut/Druide.lua
index 0df1fb6..12cf20c 100644
--- a/defaut/Druide.lua
+++ b/defaut/Druide.lua
@@ -16,6 +16,7 @@ Define(dream_of_cenarius_damage 108381)
 Define(faerie_fire 770)
   SpellInfo(faerie_fire duration=300 )
   SpellAddBuff(faerie_fire faerie_fire=1)
+  AddCheckBox(faerie_fire_check SpellName(faerie_fire))
 Define(ferocious_bite 22568)
   SpellInfo(ferocious_bite combo=0 energy=25 )
 Define(healing_touch 5185)
@@ -161,7 +162,7 @@ AddIcon mastery=2 help=main
 		if TalentPoints(force_of_nature_talent) Spell(treants)
 	}

-	if target.DebuffStacks(weakened_armor any=1) <3 Spell(faerie_fire)
+	if target.DebuffStacks(weakened_armor any=1) <3 if CheckBoxOn(faerie_fire_check) Spell(faerie_fire)
 	if BuffExpires(savage_roar) Spell(savage_roar)
 	if target.IsInterruptible() Spell(skull_bash_cat)
 	if TalentPoints(dream_of_cenarius_talent) and BuffPresent(predatory_swiftness) and ComboPoints() >=4 and BuffStacks(dream_of_cenarius_damage) <2 Spell(healing_touch)