i dont want to click i want it to auto cast and not need to worry about where my mouse are.
The closest i have made is this
Code:
if (UnitAffectingCombat("player") or UnitAffectingCombat("mouseovertarget"))
and UnitExists("mouseover")
and UnitCanAttack("player", "mouseover")
and not dontFreeze and UnitExists("pet")
and select(2,GetSpellCooldown(33395)) < 2
and not PQR_IsMoving()
and ( not finger or finger < 2 )
then
CastSpellByID(33395)
if SpellIsTargeting() then CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop()
end
return true end
this way it will only cast at my mouseover target.
I even could do a extra check to see if my target == mouseover
Havent tested it yet due to no offsets.
The ground work is done by sheuron and other profile writers