Quantcast

Death Knight: Only show Death Pact if a ghoul is present.

Johnny C. Lam [05-16-14 - 21:54]
Death Knight: Only show Death Pact if a ghoul is present.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1463 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
scripts/ovale_deathknight.lua
diff --git a/scripts/ovale_deathknight.lua b/scripts/ovale_deathknight.lua
index eb910b1..04e2448 100644
--- a/scripts/ovale_deathknight.lua
+++ b/scripts/ovale_deathknight.lua
@@ -182,7 +182,11 @@ AddIcon mastery=blood size=small checkboxon=opt_icons_left

 AddIcon mastery=blood size=small checkboxon=opt_icons_left
 {
-	if TalentPoints(death_pact_talent) Spell(death_pact)
+	if TalentPoints(death_pact_talent)
+	{
+		Spell(raise_dead)
+		if TotemPresent(ghoul) Spell(death_pact)
+	}
 	if TalentPoints(death_siphon_talent) Spell(death_siphon)
 }

@@ -481,7 +485,11 @@ AddIcon mastery=frost size=small checkboxon=opt_icons_left

 AddIcon mastery=frost size=small checkboxon=opt_icons_left
 {
-	if TalentPoints(death_pact_talent) Spell(death_pact)
+	if TalentPoints(death_pact_talent)
+	{
+		Spell(raise_dead)
+		if TotemPresent(ghoul) Spell(death_pact)
+	}
 	if TalentPoints(death_siphon_talent) Spell(death_siphon)
 }

@@ -718,7 +726,11 @@ AddIcon mastery=unholy size=small checkboxon=opt_icons_left

 AddIcon mastery=unholy size=small checkboxon=opt_icons_left
 {
-	if TalentPoints(death_pact_talent) Spell(death_pact)
+	if TalentPoints(death_pact_talent)
+	{
+		Spell(raise_dead)
+		if TotemPresent(ghoul) Spell(death_pact)
+	}
 	if TalentPoints(death_siphon_talent) Spell(death_siphon)
 }