I was wondering who might be able to help me on this on.
I have a Mage in my party and have tried setting up a mouseover Poly script but I find it to perform inconsistently, so here is what I think would improve it.
First thing I do is this
if UnitExists("mouseover") then SetRaidTarget('mouseover', 5) end
Then what I'm looking to do after this is for JUST the Mage to target RaidTarget5 and then cast Polymorph on that target, and then target his last target.
Change to
function CCPoly()
if UnitExists("mouseover") then SetRaidTarget('mouseover', 5) end
local i
for i=1,5 do
if GetRaidTargetIndex("target")==5 and not UnitIsDead("target") then
if not buffed("Polymorph","target") then cast("Polymorph") end
end
TargetNearestEnemy()
end
TargetUnit("playertarget")
end