Quantcast

better mind freeze setup for dk

Sidoine De Wispelaere [11-15-11 - 20:19]
better mind freeze setup for dk
fix demono warlock filler
better protection paladin script

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@435 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
defaut/Chevalier.lua
defaut/Demoniste.lua
defaut/Paladin.lua
diff --git a/defaut/Chevalier.lua b/defaut/Chevalier.lua
index 1383f79..9be7d5d 100644
--- a/defaut/Chevalier.lua
+++ b/defaut/Chevalier.lua
@@ -134,6 +134,11 @@ AddIcon help=main mastery=1
 	if CheckBoxOn(horn) Spell(HORNOFWINTER priority=2)
 }

+AddIcon help=offgcd checkboxon=mindfreeze mastery=1
+{
+	if target.IsInterruptible() Spell(MINDFREEZE)
+}
+
 AddIcon help=aoe mastery=1
 {
 	if BuffExpires(strengthagility 2) and CheckBoxOn(horn) Spell(HORNOFWINTER)
@@ -216,6 +221,7 @@ AddIcon help=main mastery=2

 AddIcon help=offgcd mastery=2
 {
+	if target.IsInterruptible() Spell(MINDFREEZE)
     #/blood_tap
 	Spell(BLOODTAP)
 	#/empower_rune_weapon
@@ -295,6 +301,7 @@ AddIcon help=main mastery=3

 AddIcon help=offgcd mastery=3
 {
+	if target.IsInterruptible() Spell(MINDFREEZE)
 	#/blood_tap,if=unholy=0&inactive_death=1
 	unless Runes(unholy 1) Spell(BLOODTAP priority=2)
 	#/empower_rune_weapon,if=unholy=0
@@ -324,9 +331,4 @@ AddIcon help=cd mastery=3
 	Spell(ARMYOFTHEDEAD)
 }

-AddIcon checkboxon=mindfreeze
-{
-	if target.IsInterruptible() Spell(MINDFREEZE)
-}
-
 ]]
\ No newline at end of file
diff --git a/defaut/Demoniste.lua b/defaut/Demoniste.lua
index de89c01..63f56db 100644
--- a/defaut/Demoniste.lua
+++ b/defaut/Demoniste.lua
@@ -234,8 +234,8 @@ AddIcon help=main mastery=2
 	if BuffPresent(DECIMATION) Spell(SOULFIRE)
 	#/life_tap,if=mana_pct<=30&buff.bloodlust.down&buff.metamorphosis.down&buff.demon_soul_felguard.down
 	if ManaPercent(less 30) and BuffExpires(heroism) and BuffExpires(METAMORPHOSIS) and BuffExpires(DEMONSOULFELGUARD) and LifePercent(more 75) Spell(LIFETAP)
-	if TalentPoints(BANETALENT more 0) Spell(INCINERATE)
-	Spell(SHADOWBOLT)
+	if TalentPoints(BANETALENT more 0) Spell(SHADOWBOLT)
+	Spell(INCINERATE)
 }

 AddIcon help=cd mastery=2
diff --git a/defaut/Paladin.lua b/defaut/Paladin.lua
index d02900a..8cc4927 100644
--- a/defaut/Paladin.lua
+++ b/defaut/Paladin.lua
@@ -28,6 +28,9 @@ Define(HAMMEROFWRATH 24275)
 	SpellInfo(HAMMEROFWRATH cd=6)
 Define(HAMMEROFTHERIGHTEOUS 53595)
 	SpellInfo(HAMMEROFTHERIGHTEOUS cd=4.5 holy=1)
+Define(HOLYSHIELD 20925)
+	SpellInfo(HOLYSHIELD  cd=30)
+	SpellAddBuff(HOLYSHIELD HOLYSHIELD=10)
 Define(HOLYSHOCK 20473)
 	SpellInfo(HOLYSHOCK cd=6)
 Define(HOLYWRATH 2812)
@@ -48,6 +51,8 @@ Define(SHIELDOFTHERIGHTEOUS 53600)
 Define(TEMPLARSVERDICT 85256)
 	SpellInfo(TEMPLARSVERDICT holy=-3)
 	SpellAddBuff(TEMPLARSVERDICT DIVINEPURPOSE=0)
+Define(WORDOFGLORY 85673)
+	SpellInfo(WORDOFGLORY holy=-3)
 Define(ZEALOTRY 85696)
 	SpellInfo(ZEALOTRY cd=120)
 	SpellAddBuff(ZEALOTRY ZEALOTRY=20)
@@ -106,6 +111,8 @@ AddIcon help=main mastery=2

 AddIcon help=cd mastery=2
 {
+	if HolyPower(more 2) Spell(WORDOFGLORY)
+	Spell(HOLYSHIELD)
 	Spell(GUARDIANOFANCIENTKINGS)
 	Spell(AVENGINGWRATH)
 	Spell(DIVINEPROTECTION)