PlayerFrame Swing Timer

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

PlayerFrame Swing Timer v1.1.1

File namePlayerFrameSwingTimer_1.1.1.zip
Uploader
HoliestWoWHoliestWoW
Uploaded
Dec 2, 2026
Downloads
150
Size
13.5 KB
Flavors
Forever
File ID
9968794
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 overhead.
  • 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 slices that change each frame instead of all 420 textures).

Top-Mounted Bar (Druid Forms) & Layering

  • Place Bar on Top 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 completely clear of the Druid Bear/Cat mana bar.
  • Radial Left End-Cap: Added a hardware-angled metallic left end-cap pointing directly toward the portrait center with diagonal fill clipping, ensuring the top-left edge meets the portrait ring cleanly with no flat overhang or floating border.
  • Independent Top & Bottom Layout Profiles: Spatial and contour settings (Nudge X/Y, Portrait Center, Start/End X, curve bounds, etc.) are now saved separately for Bottom and Top modes—adjusting your top bar will never alter your saved bottom-bar layout, with tuned top defaults (Global Nudge Y = -8.3) and automatic migration for existing settings.
  • Foreground Frame Level: Raised the foreground FrameLevel 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 & Equipment Handling: Updated PLAYER_SWING to scrub secret values, handle Enum.PlayerSwingType casing/indexing variations, learn off-hand attack speed directly from incoming swing durations, and react immediately to weapon swaps via PLAYER_EQUIPMENT_CHANGED.

Settings UI Fixes

  • Fixed Blank Input Boxes: Resolved an issue where numeric text fields in /pfst appeared empty until edited; all slider values now populate immediately upon opening the options panel and update automatically when switching between Top and Bottom modes.

This mod has no related projects