Originally Posted by
crystal_tech
add an ability called DG-sapper spellid 0
Code:
local sapper = Twilight Sapper
if IsRightShiftKeyDown() then
TargetUnit("Twilight Sapper")
if UnitName("target") == sapper then
CastSpellByID(49576)
TargetLastEnemy()
end
what this should do is:
once sapper drops you hit right shift,
it targets the sapper,
casts death grip,
target your last target,
profit.
its untested and the local may need quotes around Twilight Sapper. but it should work.
Code:
local sapper = "Twilight Sapper"
if IsRightShiftKeyDown() then
TargetUnit(sapper, 1)
if UnitName("target") == sapper then
CastSpellByID(49576)
TargetLastEnemy()
end