blood dk: some tweaks (glave)
Sidoine De Wispelaere [11-04-10 - 00:01]
blood dk: some tweaks (glave)
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@326 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/Ovale.toc b/Ovale.toc
index 6cf35b7..6b03b2f 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: 4.0.15
+## Version: 4.0.16
## OptionalDeps: Ace3, ButtonFacade, Recount, Skada, LibBabble-CreatureType-3.0
## SavedVariables: OvaleDB
## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Chevalier.lua b/defaut/Chevalier.lua
index ad34aa0..da3c574 100644
--- a/defaut/Chevalier.lua
+++ b/defaut/Chevalier.lua
@@ -67,6 +67,7 @@ Define(VAMPIRICBLOOD 55233) #blood
Define(GLYPHHOWLINGBLAST 63335)
#Buffs and debuffs
+Define(BLOODSHIELD 77535)
Define(BLOODSWARM 81141)
Define(SCARLETFEVER 81130)
Define(BLOODPLAGUE 55078)
@@ -92,10 +93,11 @@ AddIcon help=main mastery=1
if Runes(blood1) or BuffPresent(BLOODSWARM) Spell(BLOODBOIL)
Spell(RUNESTRIKE usable=1)
- if Runes(unholy 1 frost 1) Spell(DEATHSTRIKE)
+ if Runes(unholy 1 frost 1) and BuffExpires(BLOODSHIELD) Spell(DEATHSTRIKE)
if Runes(blood 1) Spell(HEARTSTRIKE)
if Mana(more 39) Spell(DEATHCOIL usable=1)
+ unless Runes(blood 1) Spell(BLOODTAP usable=1 priority=2)
if CheckBoxOn(horn) Spell(HORNOFWINTER priority=2)
}