A rewrite of CombatTimer.
Displays a timer bar showing how long it will be till a player exits PvP combat. This is primarily aimed at stealth classes and for heal drinking. Since it is useless in PvE, by default it will only be enabled in Arenas and Battlegrounds.
Configure via Interface->Addons->YawningCombat.
Note:
- On the server I play on, the default time of 5.0 seconds seemed to be insufficient to actually drop combat. It is possible to add an extra delay to the bar via the "Extra Time" setting, and I have found it to be most accurate at "0.5".
- Certain actions appear to not reset PvP combat, even though they should. In most cases this involves buff gains (SPELL_AURA_APPLIED). If you have frequently used abilities that are causing problems, I suggest you look at the YawningCombat_Quirks.lua file.
Credits:
- The original CombatTimer author for inspiration and the COMBAT_LOG_EVENT_UNFILTERED handler.
- Bigwigs for showing me how to anchor/use libCandyBar bars.