From 54d58747eb21471f2721730edb3b50c197526f54 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Tue, 6 May 2014 14:21:54 +0000 Subject: [PATCH] Shaman: Use presence of glyph to choose whether to suggest Totemic Recall. If you're using the glyph, assume that you want to see Totemic Recall for mana recapture. If not, then it's not worth the GCD to recapture the mana from spent totems. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1389 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- scripts/ovale_shaman.lua | 5 +---- scripts/ovale_shaman_spells.lua | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/ovale_shaman.lua b/scripts/ovale_shaman.lua index e42b85e..031c99a 100644 --- a/scripts/ovale_shaman.lua +++ b/scripts/ovale_shaman.lua @@ -448,15 +448,12 @@ AddIcon mastery=enhancement size=small checkboxon=opt_icons_right # Information from Elitist Jerks, "[Resto] It's Raining Heals 5.4" # http://forums.elitistjerks.com/page/articles.html/_/world-of-warcraft/shaman/resto-its-raining-heals-54-r89 -# Suggest using Totemic Recall to regain mana from casting Healing Stream Totem. -AddCheckBox(opt_totemic_recall SpellName(totemic_recall) mastery=restoration) - AddFunction RestorationMainActions { if WeaponEnchantExpires(mainhand) Spell(earthliving_weapon) if BuffExpires(water_shield_buff) Spell(water_shield) if BuffCountOnAny(earth_shield_buff) == 0 Spell(earth_shield) - if CheckBoxOn(opt_totemic_recall) + if Glyph(glyph_of_totemic_recall) { # Suggest Totemic Recall to regain mana from Healing Stream Totem, but only if it won't # recall other totems with very long CDs. diff --git a/scripts/ovale_shaman_spells.lua b/scripts/ovale_shaman_spells.lua index b067a44..246a664 100644 --- a/scripts/ovale_shaman_spells.lua +++ b/scripts/ovale_shaman_spells.lua @@ -94,6 +94,7 @@ Define(glyph_of_fire_elemental_totem 55455) Define(glyph_of_frost_shock 55443) Define(glyph_of_riptide 63273) Define(glyph_of_spirit_walk 55454) +Define(glyph_of_totemic_recall 55438) Define(glyph_of_thunder 63270) Define(glyph_of_wind_shear 55451) Define(greater_healing_wave 77472) -- 1.7.9.5