dev
Crypto Transaction Tracker
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
300 XP
Code:
if IsSpellInRange("Disarm","target") == 1 and UnitBuffID("target",46924) then RunMacroText("/cast defensive stance")
RunMacroText("/cast disarm")
end
Code:
InteruptSpell = 57994-- This is the spell ID of the interupt you want to use
InteruptDelay = 0.2--This is the time before the end of the cast
InteruptTarget = "target" --This is the target you want to interupt must be in Quotation Marks (Example : "UnitName")
if mana>=0 then local spellName, _, _, _, startCast, endCast, _, _, canInterrupt = UnitCastingInfo(InteruptTarget) if UnitCastingInfo(InteruptTarget) ~= nil
and ((endCast/1000) - GetTime()) > InteruptDelay then
_castSpell(InteruptSpell,InteruptTarget)
return true
end
end
I will upload more soon !
GL