Target Swing Timer

Adds your target's melee swing timer to the target frame for any enemy NPC or player, estimated from the hits landing on whoever it is attacking, since WoW Forever addons can't read the combat log.

What it does


TargetSwing puts a thin bar on your target frame that fills up as your target's next melee swing approaches, with the seconds left shown on it. It works for every class, on any enemy NPC or player. At a glance it shows when the swing is due, whether it's coming at you and how sure the timing is. Made for WoW Forever, it needs no setup and no other addons.

How it works, and why it's an estimate


WoW Forever doesn't let addons read the combat log, and in combat it hides many values from them, attack speeds included. So no addon can see your target's swings directly, and TargetSwing works them out instead:

- It watches the melee hits, misses, dodges, parries and blocks that land on whoever your target is attacking, you or anyone else, and picks out the steady rhythm of your target's swings among them.
- It uses your target's attack speed when the game shows it: read before the pull from the target or its nameplate, and remembered for each kind of NPC. Otherwise it measures the speed from the swings.
- The game reports each hit a moment late, and not always by the same amount, so it fits the timer through the last several swings instead of trusting the latest one alone.

It keeps up when the rhythm changes:

- Parries: a parry by your target can bring its next swing forward, and the bar jumps ahead to match.
- Casts: the bar turns grey while your target casts. After a finished cast, TargetSwing starts the swing timer over; after an interrupted one, it keeps the timer running.
- Stuns, fears and the like: when an expected swing doesn't come, it picks the rhythm back up once the swings resume.
- Slows and hastes: when the game shows the new attack speed, the bar adjusts at once. When the game reports a change but hides the value, TargetSwing re-measures the speed from the swings.
- Switching targets: switch back within a few seconds and it carries on where it left off.

Because it works from the hits it can see, the timer is an estimate. It's at its best one on one; the Limits section below covers what makes it less sure.

Reading the bar


- Gold: following your target's swings.
- Orange, time marked `~`: others are hitting the same unit, so it's less sure.
- Pale: not confirmed by a swing yet.
- Red: the swing is due now.
- Grey, with `cast`: your target is casting.
- Empty bar with `...`: learning its attack speed.
- White border: your target is attacking you.

The number is the seconds to the next swing. The bar flashes each time it counts a hit as your target's swing. It appears with the first hit of a fight and hides a few seconds after the fighting stops.

Getting the best results


- Turn on enemy nameplates (V). They're how TargetSwing sees other enemies hitting the same unit, and they let it read attack speeds before a pull.
- Target the enemy before you pull, or get its nameplate on screen. In combat the game hides attack speeds from addons, so TargetSwing reads them beforehand, and it remembers each kind of NPC's speed between sessions.
- Check where the bar sits. Run `/tsw test` with something targeted. `/tsw unlock` lets you drag the bar somewhere else on the target frame.
- Ask it what it knows. Type `/tsw status` mid-fight to see the attack speed it's using and where that speed came from.

Commands


Type `/tsw` (or `/targetswing`) on its own to see this list in game.

- `/tsw test` - show a sample bar for 15 seconds (have something targeted)
- `/tsw unlock`, then `/tsw lock` - drag the bar somewhere else on the target frame
- `/tsw size <width> <height>` - for example `/tsw size 106 8` (width 20 to 400, height 3 to 40)
- `/tsw reset` - back to the automatic position and size
- `/tsw text [on|off]` - the seconds-left text (on by default)
- `/tsw friendly [on|off]` - also time friendly targets (off by default)
- `/tsw on` or `/tsw off` - turn TargetSwing on or off
- `/tsw status` - what it knows about the current target
- `/tsw debug` - print each hit it sees and what it made of it (type it again to stop)

Limits


It's an estimate, and these make it less sure:

- Crowded fights. When others are hitting the same unit, it can't tell whose hit is whose, so the bar turns orange.
- Attackers it can't see. It spots other enemies only through their nameplates. With enemy nameplates off, or an attacker that has none (some pets, for example), their hits can pass for your target's swings.
- Dual-wielding targets. It follows one weapon's rhythm. The other hand's swings land as extra hits that can throw it off.
- Sudden speed changes. A haste or slow in the middle of a fight can throw it off for a few swings while it re-measures.
- New enemies. When it can't read an enemy's attack speed, it has to learn it, which takes at least three swings (more in a crowded fight). The bar shows `...` until then.
- Special attacks. Your target's physical special attacks look like swings to it. Those that don't fit the rhythm are ignored, but one landing close to when a swing is due can nudge the timer.
- Hidden hit details. If the game hides a hit's details from addons, that hit can't be used.
- Replaced target frames. The bar sits on the default target frame. If another addon hides or replaces that frame, the bar can be hidden with it.

Feedback


If the bar does something odd, please leave a comment on this page with:

1. What happened: what you were fighting, whether you were alone or in a group, what the bar did and what you expected.
2. Status output: type `/tsw status` while it's happening, with that enemy still targeted, and include what it prints. A screenshot of the chat is fine.

If you can make it happen again, the output of `/tsw debug` during that fight helps too.

Target Swing Timer Team

profile avatar
  • 2
    Projects
  • 286
    Downloads

I like making stuff.

More from Kelgore_Ironhide

  • Slain By project image

    Slain By

    Remembers the enemy players who kill you in WoW Forever, using the game's own death recap, and warns you when they show up or an enemy slips into stealth near you. Guilds share killers, a KOS list, a bounty board and a kill leaderboard.

    • 232
    • November 23, 2026
  • Slain By project image

    Slain By

    Remembers the enemy players who kill you in WoW Forever, using the game's own death recap, and warns you when they show up or an enemy slips into stealth near you. Guilds share killers, a KOS list, a bounty board and a kill leaderboard.

    • 232
    • November 23, 2026