Looking for some help with 2 abilities. It's for enhancement shaman rotation.
I have problem with Flame Shock in two different scenarios.
First problem is during AoE mode. I want it to cast Flame Shock(8050) if it isnt up or about to run out in AoE mode.
This works during AoE mode and he continues with the other spells. The problem is the rotation stops while in "non AoE" mode. I want the rotation to continue in normal mode without casting Flame Shock and do my normal single target rotation. We get Unleashed Flame buff after casting Unleash Elements.
PHP Code:
local debufftimer = select(7,UnitDebuffID("target",8050,"PLAYER"))
if AoE
and not debufftimer
or debufftimer - GetTime() < 3
then
return true end
Second problem is that I only want to cast Flame Shock(8050) while Unleashed Flame buff(73683) is up. The rotation works if Unleashed Flame buff(73683) is up on me but the rotation stops if its not. Unleashed Elements isnt cast on cooldown with the 5.2 changes and new haste specc so Flame Shock is above UE. Would be easy to just put UE over Flame Shock but i'm trying to stick with the supposed rotation.
PHP Code:
local debufftimer = select(7,UnitDebuffID("target",8050,"PLAYER"))
if UnitBuffID("player",73683)
and not debufftimer
or debufftimer - GetTime() < 4
then
return true end
I dont know what to write to just make the rotation continue if the above requirements isnt met.