warlock: added glyph of life tap
Sidoine De Wispelaere [01-19-10 - 20:25]
warlock: added glyph of life tap
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@207 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/defaut/Demoniste.lua b/defaut/Demoniste.lua
index c4289bf..aa9c8a7 100644
--- a/defaut/Demoniste.lua
+++ b/defaut/Demoniste.lua
@@ -32,6 +32,8 @@ Define(GLYPHOFCONFLAGRATE 56235)
Define(FELARMOR 28176)
Define(FIRESTONE 6366)
Define(SPELLSTONE 2362)
+Define(GLYPHLIFETAP 63320)
+Define(LIFETAP 1454)
AddListItem(curse elements SpellName(CURSEELEMENTS))
AddListItem(curse agony SpellName(CURSEAGONY))
@@ -66,6 +68,7 @@ if WeaponEnchantExpires(mainhand 5)
Spell(SPELLSTONE)
Spell(FIRESTONE)
}
+if Glyph(GLYPHLIFETAP) and BuffExpires(LIFETAP 0) Spell(LIFETAP)
if List(curse elements) and TargetDebuffExpires(CURSEELEMENTS 2) and TargetDeadIn(more 8) Spell(CURSEELEMENTS)
if TalentPoints(TALENTSHADOWEMBRACE more 0) and TargetDebuffExpires(SHADOWEMBRACE 0) Spell(SHADOWBOLT)
if TargetDebuffExpires(HAUNT 1.5 mine=1) Spell(HAUNT)
@@ -95,6 +98,7 @@ if TargetLifePercent(less 25) and Level(more 76) and {TalentPoints(TALENTDECIMAT
and TalentPoints(TALENTEMBERSTORM less 1) Spell(DRAINSOUL)
Spell(CHAOSBOLT)
+if Glyph(GLYPHLIFETAP) and BuffExpires(LIFETAP 1) Spell(LIFETAP)
if TalentPoints(TALENTEMBERSTORM more 0) or BuffPresent(MOLTENCORE) Spell(INCINERATE)
Spell(SHADOWBOLT)
}