added horn of winter as an option (not tested)
Sidoine De Wispelaere [01-16-10 - 13:50]
added horn of winter as an option (not tested)
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@201 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/Ovale.toc b/Ovale.toc
index 830b99c..3472bd0 100644
--- a/Ovale.toc
+++ b/Ovale.toc
@@ -3,7 +3,7 @@
## Notes: Show the icon of the next spell to cast
## Notes-frFR: Affiche l'icône du prochain sort à lancer
## Author: Sidoine
-## Version: 3.3.15
+## Version: 3.3.16
## OptionalDeps: Ace3, ButtonFacade, Recount, LibBabble-CreatureType-3.0
## SavedVariables: OvaleDB
## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Chevalier.lua b/defaut/Chevalier.lua
index 77b22e9..e28d11a 100644
--- a/defaut/Chevalier.lua
+++ b/defaut/Chevalier.lua
@@ -35,6 +35,7 @@ Define(RAISEDEAD 46584)
Define(HORNOFWINTER 57330)
AddCheckBox(rolldes SpellName(GLYPHDISEASE) default glyph=GLYPHDISEASE)
+AddCheckBox(horn SpellName(HORNOFWINTER) default)
SpellAddTargetDebuff(ICYTOUCH FROSTFEVER=15)
SpellAddTargetDebuff(PLAGUESTRIKE BLOODPLAGUE=15)
@@ -54,7 +55,7 @@ AddIcon help=main
{
Spell(DANCINGRUNEWEAPON usable=1)
- if BuffExpires(HORNOFWINTER 2) Spell(HORNOFWINTER)
+ if CheckBoxOn(horn) and BuffExpires(HORNOFWINTER 2) Spell(HORNOFWINTER)
if CheckBoxOn(rolldes) and Glyph(GLYPHDISEASE)
and TargetDebuffPresent(FROSTFEVER mine=1) and TargetDebuffPresent(BLOODPLAGUE mine=1) and
@@ -99,12 +100,15 @@ AddIcon help=main
if TargetDebuffExpires(BLOODPLAGUE 0 mine=1) and Runes(unholy 1)
Spell(PLAGUESTRIKE)
+
if BuffPresent(FROSTPRESENCE)
Spell(RUNESTRIKE usable=1)
Spell(FROSTSTRIKE usable=1)
if PetPresent(no) Spell(RAISEDEAD)
- Spell(DEATHCOIL usable=1)
+
+ if Mana(more 39) Spell(DEATHCOIL usable=1)
+ Spell(HORNOFWINTER priority=2)
}
AddIcon help=aoe