From aa70bf46cc5aed359a735d349487226d580cc68f Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Sun, 11 May 2014 08:10:56 +0000 Subject: [PATCH] Mage: Fix Evocation when using Invocation talent in Frost specialization. This fix causes the script to avoid suggesting Evocation until Invoker's Energy is close to expiration if Icy Veins is on cooldown. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1423 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- scripts/ovale_mage.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ovale_mage.lua b/scripts/ovale_mage.lua index 8616da4..eb32567 100644 --- a/scripts/ovale_mage.lua +++ b/scripts/ovale_mage.lua @@ -465,8 +465,8 @@ AddFunction FrostDefaultShortCdActions #rune_of_power,if=cooldown.icy_veins.remains=0&buff.rune_of_power.remains<20 if TalentPoints(rune_of_power_talent) and IcyVeins() and RuneOfPowerRemains() < 20 Spell(rune_of_power) #evocation,if=buff.invokers_energy.remains95 if not TalentPoints(rune_of_power_talent) and not TalentPoints(invocation_talent) and ManaPercent() < 50 Spell(evocation) @@ -482,7 +482,7 @@ AddFunction FrostDefaultCdActions unless { TalentPoints(rune_of_power_talent) and RuneOfPowerRemains() < CastTime(rune_of_power) and BuffExpires(alter_time_buff) } or { TalentPoints(rune_of_power_talent) and IcyVeins() and RuneOfPowerRemains() < 20 } - or { TalentPoints(invocation_talent) and BuffRemains(invokers_energy_buff) < CastTime(rune_of_power) and BuffExpires(alter_time_buff) } + or { TalentPoints(invocation_talent) and BuffRemains(invokers_energy_buff) < CastTime(evocation) and BuffExpires(alter_time_buff) } or { TalentPoints(invocation_talent) and IcyVeins() and BuffRemains(invokers_energy_buff) < 20 } or { not TalentPoints(rune_of_power_talent) and not TalentPoints(invocation_talent) and ManaPercent() < 50 and Spell(evocation) } { -- 1.7.9.5