Originally Posted by
Dimonoff
What wrong?
I'm trying to use Mana Tea on my mistwaver monk:
Maybe it's time to start reading this thread instead of asking such questions? (:
As it was mentioned lots of time already CastSpellByID is bugged on Beta right now and it will not work with MOP abilities.You need to use CastSpellByName(target,GetSpellInfo(spellid)) and set spell id in PQR ability to 0.
Smth like this:
Code:
local MP = 100 * UnitPower("player") / UnitPowerMax("player")
local Tea = UnitBuffID("player", 115867)
if MP < 90
and GetSpellCooldown(115294) == 0
and Tea >= 2
and PQR_SpellAvailable() then
CastSpellByName("player",GetSpellInfo(spellid))
return
end