promotional bannermobile promotional banner
premium banner
Displays a simulated health bar while Feign Death is active.

Description

FDHealth

A feigned hunter's health cannot be read directly, because the API returns zero for UnitHealth("Player") once FD takes effect. To work around this, FDHealth:

  • Snapshots current health immediately before FD
  • Simulates regeneration based on your spirit
  • Monitors combat log events to adjust for damage and healing

Uses a standalone, configurable bar for simplicity and to avoid compatibility issues with unit frames.


Updated for TBC but it appears to be redundant as health is now visible in the player frame while feigned. Still relevant for Classic.


Configuration

Command Description Example
/fdh Shows a list of available commands.
/fdh w <num> Sets the width of the health bar in pixels. /fdh w 240
/fdh h <num> Sets the height of the health bar in pixels. /fdh h 32
/fdh f <num> Sets the font size of the status text. /fdh f 12
/fdh c <h/v> Centres the bar horizontally or vertically. /fdh c v
/fdh drag Enables/disables dragging with the cursor.
/fdh test Toggles test mode on/off.
/fdh classic Use Classic spirit coefficients.
/fdh tbc Use TBC spirit coefficients.

Notes

Designed to be lightweight and accurate enough within typical use.

  • Accounts for the troll racial bonus, both in and out of combat
  • HP5 is not factored, as it is uncommon and has minimal impact