------------------------------------------------------------------------
2.0.8 | community fix | 2026-06-21 | pulse sound + visible debug

FIX: the pulse sound never played. The addon used Sound.Play(), which is
not a function the Return of Reckoning client exposes, so the call did
nothing. Sound now plays through PlaySound() (the function RoR actually
uses), wrapped in pcall with a fallback so a missing API can never break
the pulse. Controlled by the existing "Enable Sound With Pulse" option.

CHANGE: debug messages now print to the chat window (same channel as the
init line) instead of the internal DEBUG() console, so "Enable Debug
Messages" / "/wcdp debug" output is actually visible to the player.
------------------------------------------------------------------------
------------------------------------------------------------------------
2.0.7 | community feature | 2026-06-21 | morale-available pulse + debug

NEW: Morale can now pulse the instant a rank becomes available as the
morale bar fills (or its post-use cooldown ends), not only for the last
morale you cast. Driven by the PLAYER_MORALE_UPDATED event and the
morale-bar API (GetMoraleBarData / GetMoraleCooldown /
GetMoralePercentForLevel), evaluated the same way the default morale UI
does. Each rank flashes once on the not-available -> available edge.
Toggle: "Pulse When Morale Available" in the Morale section (on by
default). When off, morale falls back to the 2.0.6 cooldown behaviour.

NEW: "Enable Debug Messages" checkbox in the General section, plus a
"/wcdp debug" command to toggle debug output on the fly.

FIX: the Morale and Pet "Minimum Cooldown" config fields were saving
into the Actions minimum cooldown instead of their own setting. They now
save correctly.
------------------------------------------------------------------------
------------------------------------------------------------------------
2.0.6 | community fix | 2026-06-21 | morale pulse regression

Fixed morale abilities never pulsing after the 2.0.5 rewrite. Morale
buttons do not report a counting-down cooldown; the client streams
"cooldown = 0 / max = 60" updates for them, so the 2.0.5 peak tracking
never recorded a peak for a morale and suppressed its pulse entirely.
Morale is now handled on its own path (triggering off m_MaxCooldown, the
proven 2.0.4 behaviour, with a guard against the repeated 0/60 updates),
while abilities and pets keep the 2.0.5 per-ability peak tracking.
The pulse display was factored into a shared WCDP.FirePulse helper.
------------------------------------------------------------------------
2.0.5 | community fix | 2026-06-11 | 3 lines

Fixed pulses randomly not firing when another ability was cast (global
cooldown overwriting the button's max cooldown) or when the bar refreshed
while moving. Cooldown peaks are now tracked per ability internally.
Also cached ability types to avoid calling GetAbilityData every frame.
------------------------------------------------------------------------
------------------------------------------------------------------------
r24 | wikki | 2011-01-06 01:34:21 +0000 (Thu, 06 Jan 2011) | 1 line
Changed paths:
   A /tags/2.0.4 (from /trunk:23)

Tagging as 2.0.4
------------------------------------------------------------------------
r23 | wikki | 2011-01-06 01:33:52 +0000 (Thu, 06 Jan 2011) | 3 lines
Changed paths:
   M /trunk/Source/wcdp.lua
   M /trunk/Wikkis Cooldown Pulse.mod

Fixed an issue where the same ability wouldnt pulse back to back.

Mark 2.0.4
------------------------------------------------------------------------
