Originally Posted by
Bossqwerty
Hey guys, I'm trying to implement this heroic leap code from way back and for whatever reason it just breaks my profile and won't work. Anyone have any idea why? I'm pretty much just copy + pasting that. I'm sure I'm missing something simple but I can't figure out what.
here ya go
spell name: Heroic Leap
spell id: 0
delay: 500
Code:
local _,hlcd,_ = GetSpellCooldown(6544)
if hlcd == 0 and IsLeftControlKeyDown() and GetCurrentKeyBoardFocus() == nil then
CastSpellByName("Heroic Leap")
if SpellIsTargeting() then CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() end
return true
end