revealing strike is a debuff not a buff
Sidoine De Wispelaere [10-17-10 - 13:26]
revealing strike is a debuff not a buff
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@296 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/defaut/Voleur.lua b/defaut/Voleur.lua
index 2a7f798..33b2c39 100644
--- a/defaut/Voleur.lua
+++ b/defaut/Voleur.lua
@@ -29,7 +29,7 @@ Define(PREPARATION 14185)
SpellInfo(PREPARATION cd=300)
Define(REVEALINGSTRIKE 84617)
SpellInfo(REVEALINGSTRIKE combo=1)
- SpellAddBuff(REVEALINGSTRIKE REVEALINGSTRIKE=15)
+ SpellAddTargetDebuff(REVEALINGSTRIKE REVEALINGSTRIKE=15)
Define(RUPTURE 1943)
SpellInfo(RUPTURE combo=-5)
SpellAddTargetDebuff(RUPTURE RUPTURE=8)
@@ -77,7 +77,7 @@ AddIcon help=main mastery=2
{
unless BuffPresent(SLICEANDDICE) if ComboPoints(more 0) Spell(SLICEANDDICE)
- if BuffPresent(REVEALINGSTRIKE) and Mana(more 69)
+ if TargetDebuffPresent(REVEALINGSTRIKE) and Mana(more 69)
{
if BuffExpires(SLICEANDDICE 12) Spell(SLICEANDDICE)