Skip to content

Commit

Permalink
CrystalVale_Classic/Thunderaan: Make sure to scan the correct target
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Dec 9, 2024
1 parent 43ce288 commit 0c4e1da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CrystalVale_Classic/Thunderaan.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ do
end

function mod:ChainLightningStart(args)
self:SimpleTimer(function() self:GetUnitTarget(printTarget, 0.2, args.sourceGUID) end, 1.7) -- He doesn't pick a target until about 1.3s left on the cast
local sourceGUID = args.sourceGUID -- Store the GUID as the values on the args table may have changed after the delay
self:SimpleTimer(function() self:GetUnitTarget(printTarget, 0.2, sourceGUID) end, 1.7) -- He doesn't pick a target until about 1.3s left on the cast
self:Message(args.spellId, "red")
self:CastBar(args.spellId, 3)
end
Expand Down

0 comments on commit 0c4e1da

Please sign in to comment.