Originally Posted by
SeveredShadow
Is there a way to use abilities that involve reticles without having to click my mouse to place the spell where I want it to go?
Like Flamestrike or Death and Decay. Would be great if it could just put it where ever my mouse happened to be at the time or even just on top of my character would be fine.
If there was a function that could simulate me clicking my mouse, that would do it for me.
this will simulate mousrclick:
Code:
if SpellIsTargeting() then CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() end
Here is my Flamestrike script
Code:
if not UnitChannelInfo("player")
and IsSpellKnown(2120)
and select(2,GetSpellCooldown(2120)) ~= 12
and not PQR_IsMoving(1)
then
SpellCancelQueuedSpell()
CastSpellByName(GetSpellInfo(2120),nil)
if SpellIsTargeting() then CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() end
return true
end