# UnitHealPredictionCalculatorShared (types and enums): World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/UnitHealPredictionCalculatorShared

## Tables

### Enum.UnitDamageAbsorbClampMode (enumeration)

- `MissingHealth` = 0
- `MissingHealthWithoutIncomingHeals` = 1
- `MaximumHealth` = 2

### Enum.UnitHealAbsorbClampMode (enumeration)

- `CurrentHealth` = 0
- `MaximumHealth` = 1

### Enum.UnitHealAbsorbMode (enumeration)

- `ReducedByIncomingHeals` = 0
- `Total` = 1

### Enum.UnitIncomingHealClampMode (enumeration)

- `MissingHealth` = 0
- `MaximumHealth` = 1

### Enum.UnitMaximumHealthMode (enumeration)

- `Default` = 0
- `WithAbsorbs` = 1

### UnitDamageAbsorbInfo (structure)

- `amount`: number. Amount of applied damage absorb affects with potential reductions from clamping included.
- `clamped`: bool. If true, the value is in excess of the clamp boundary.

### UnitHealAbsorbInfo (structure)

- `amount`: number. Amount of applied heal absorb affects with potential reductions from incoming heals and clamping included.
- `clamped`: bool. If true, the value is in excess of the clamp boundary.

### UnitHealPredictionValues (structure)

- `health`: number, default 0
- `healthMax`: number, default 0
- `totalIncomingHeals`: number, default 0
- `totalIncomingHealsFromHealer`: number, default 0
- `totalDamageAbsorbs`: number, default 0
- `totalHealAbsorbs`: number, default 0

### UnitIncomingHealInfo (structure)

- `amount`: number. Amount of incoming heals across all units with potential reductions from heal absorb effects included.
- `amountFromHealer`: number. Amount of incoming heals from the healer unit. Will never exceed the all-units value.
- `amountFromOthers`: number. Amount of incoming heals from units other than theh healer. Calculated as the difference between amount and amount-from-healer.
- `clamped`: bool. If true, the value is in excess of the clamp boundary.

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
