PlayerFrame Swing Timer

A simple swing timer attached to your player frame.
Back to Files

Player Frame Swing Timer v1.1.0

File namePlayerFrameSwingTimer-1.1.0.zip
Uploader
HoliestWoWHoliestWoW
Uploaded
Dec 2, 2026
Downloads
71
Size
11.7 KB
Flavors
Forever
File ID
9959739
Type
R
Release
Supported game versions
  • 1.60.1

What's new

PlayerFrame Swing Timer

Performance & CPU Optimization

  • Idle Loop Parking: Added an early-exit check to OnUpdate so the frame loop parks completely when out of combat with no active swing timers, eliminating idle CPU usage.
  • Delta-Only Slice Rendering: Moved slice anchor and size calculations out of the per-frame loop and switched bar progress updates to delta tracking (updating only the 1–2 slices that change each frame rather than all 420 textures).

Druid Forms & Layering

  • Top-Mounted Bar Option: Added "Place Bar on Top (Druid Forms)" in /pfst, mirroring the concentric portrait cutout and metallic bevel along the top edge of PlayerFrame so it stays clear of the Druid Bear/Cat mana bar.
  • Foreground Frame Level: Raised the foreground frame level when "Tuck Seam Behind PlayerFrame" is unchecked so the bar renders cleanly above PlayerFrame artwork and resource bars.

Dual-Wield Off-Hand Tracking

  • Combat Secret-Value Fix: Fixed off-hand swing tracking dropping out during combat when UnitAttackSpeed("player") returns protected/secret values. Dual-wield detection now checks inventory slot 17 directly (GetInventoryItemID + GetItemInfoInstant) and preserves off-hand state throughout combat.
  • Swing Payload Handling: Updated PLAYER_SWING to scrub secret values, support Enum.PlayerSwingType casing/indexing variations, and learn off-hand attack speed directly from incoming swing durations.

This mod has no additional files