Description
A World of Warcraft (retail) addon that watches enemy spellcasts and, when an enemy is casting at one of your group/raid members, draws the spell's icon on that member's unit frame.
It works on any unit frames that [LibGetFrame] can locate (Blizzard, Grid2, Cell, ElvUI, and so on).
How it finds the target
Retail WoW does not let an addon read, during combat, which group member an enemy is targeting. Targeted Spells deduces it: it keeps a snapshot of your group's class / role / race / sex, reads the same attributes from the enemy's target, and shows the icon only when exactly one of your members is an unambiguous match. Unknown or combat-protected attributes are never used to exclude anyone.
Usage
/tsor/targetedspells— open the settings panel./ts test— toggle preview mode (dummy icons on your own frame for positioning).
Everything is configurable: icon size/zoom, anchor and grow direction, spacing and offsets, border texture/thickness/colour (via LibSharedMedia), and the cooldown spiral's swipe / edge spark / reverse fill / colour and its built-in countdown numbers.




