mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
The `macro` verb selected the clicked unit and left it targeted (Clique's click-heal minus the restore). Snapshot the current selection GUID, retarget the clicked unit, run the macro, then restore the prior target via FUN_TARGET_BY_GUID (which validates the GUID and drops a stale one), or ClearTarget when there was no prior target. The macro's actions dispatch synchronously while the clicked unit is selected, so restoring afterward doesn't affect them.