Skip to content

Commit

Permalink
Update Events.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili authored Oct 26, 2023
1 parent 6318ea1 commit d953569
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions Events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1068,23 +1068,6 @@ C_Timer.After( 60, UpdateSpellQueueWindow )
do
local macroInfo = {}

--[[ RegisterEvent( "EXECUTE_CHAT_LINE", function( event, macroText )
if macroText then
local action, target = SecureCmdOptionParse( macroText )
local ability = action and class.abilities[ action ]
if ability and ability.key then
local m = macroInfo[ ability.key ] or {}
m.target = target and UnitGUID( target ) or UnitGUID( "target" )
m.time = GetTime()
macroInfo[ ability.key ] = m
end
end
end ) ]]

function Hekili:GetMacroCastTarget( spell, castTime, source )
local ability = class.abilities[ spell ]
local buffer = 0.1 + SpellQueueWindow
Expand Down

0 comments on commit d953569

Please sign in to comment.