UnitHealPredictionCalculator
object type35 methodsavailable in: camelot
Methods
In the emulator: 35 implemented.
| method | what it does | status |
|---|---|---|
EvaluateCurrentHealthPercent | Calculates the percentage of current unit health and evaluates it against the supplied curve. · warcraft.wiki.gg ↗(curve: LuaCurveObjectBase): LuaCurveEvaluatedResult | implemented |
EvaluateMissingHealthPercent | Calculates the percentage of missing unit health and evaluates it against the supplied curve. · warcraft.wiki.gg ↗(curve: LuaCurveObjectBase): LuaCurveEvaluatedResult | implemented |
GetCurrentHealth | Returns the base amount of unit health. · warcraft.wiki.gg ↗(): number | implemented |
GetCurrentHealthPercent | Returns the percentage of current unit health. · warcraft.wiki.gg ↗(): number | implemented |
GetDamageAbsorbClampMode | Returns the configured damage absorb clamping mode. · warcraft.wiki.gg ↗(): UnitDamageAbsorbClampMode | implemented |
GetDamageAbsorbs | Calculates damage absorb values and clamping according to the configured options. · warcraft.wiki.gg ↗(): (number, boolean) | implemented |
GetHealAbsorbClampMode | Returns the configured heal absorb clamping mode. · warcraft.wiki.gg ↗(): UnitHealAbsorbClampMode | implemented |
GetHealAbsorbMode | Returns the configured heal absorb processing mode. · warcraft.wiki.gg ↗(): UnitHealAbsorbMode | implemented |
GetHealAbsorbs | Calculates heal absorb values and clamping according to the configured options. · warcraft.wiki.gg ↗(): (number, boolean) | implemented |
GetIncomingHealClampMode | Returns the configured incoming heal clamping mode. · warcraft.wiki.gg ↗(): UnitIncomingHealClampMode | implemented |
GetIncomingHealOverflowPercent | Returns the configured incoming heal maximum overflow percentage. · warcraft.wiki.gg ↗(): number | implemented |
GetIncomingHeals | Calculates incoming heal values and clamping according to the configured options. · warcraft.wiki.gg ↗(): (number, number, number, boolean) | implemented |
GetMaximumDamageAbsorbs | Returns the maximum clamping amount for damage absorbs. · warcraft.wiki.gg ↗(): number | implemented |
GetMaximumHealAbsorbs | Returns the maximum clamping amount for heal absorbs. · warcraft.wiki.gg ↗(): number | implemented |
GetMaximumHealth | Returns the base amount of maximum unit health. · warcraft.wiki.gg ↗(): number | implemented |
GetMaximumHealthMode | Returns the configured maximum health mode. · warcraft.wiki.gg ↗(): UnitMaximumHealthMode | implemented |
GetMaximumIncomingHeals | Returns the maximum clamping amount for incoming heals. · warcraft.wiki.gg ↗(): number | implemented |
GetMissingHealth | Returns the base amount of missing unit health. · warcraft.wiki.gg ↗(): number | implemented |
GetMissingHealthPercent | Returns the percentage of missing unit health. · warcraft.wiki.gg ↗(): number | implemented |
GetPredictedValues | Returns the raw total figures used for data calculations. · warcraft.wiki.gg ↗(): UnitHealPredictionValues | implemented |
GetTotalDamageAbsorbs | Returns the base total amount of all applied damage absorb shields. · warcraft.wiki.gg ↗(): number | implemented |
GetTotalHealAbsorbs | Returns the base total amount of all applied heal absorption effects. · warcraft.wiki.gg ↗(): number | implemented |
GetTotalIncomingHeals | Returns the base total amount of all incoming heals. · warcraft.wiki.gg ↗(): number | implemented |
GetTotalIncomingHealsFromHealer | Returns the base total amount of all incoming heals from the healer unit, if any. · warcraft.wiki.gg ↗(): number | implemented |
HasSecretValues | Returns true if the object has been configured with any secret values. · warcraft.wiki.gg ↗(): boolean | implemented |
Reset | Resets all stored state on the object. · warcraft.wiki.gg ↗() | implemented |
ResetPredictedValues | Resets all stored healing values used for calculations. · warcraft.wiki.gg ↗() | implemented |
SetDamageAbsorbClampMode | Changes the clamping mode used when calculating damage absorb amounts. · warcraft.wiki.gg ↗(damageAbsorbClampMode: UnitDamageAbsorbClampMode) | implemented |
SetHealAbsorbClampMode | Changes the clamping mode used when calculating heal absorb amounts. · warcraft.wiki.gg ↗(healAbsorbClampMode: UnitHealAbsorbClampMode) | implemented |
SetHealAbsorbMode | Changes the processing mode used when calculating both heal absorb and incoming heal amounts. · warcraft.wiki.gg ↗(healAbsorbMode: UnitHealAbsorbMode) | implemented |
SetIncomingHealClampMode | Changes the clamping mode used when calculating incoming heal amounts. · warcraft.wiki.gg ↗(incomingHealClampMode: UnitIncomingHealClampMode) | implemented |
SetIncomingHealOverflowPercent | Changes the maximum overflow percentage for incoming heals. Increasing this to a value over 1.0 will mean that incoming heals can extend beyond maximum health. · warcraft.wiki.gg ↗(incomingHealOverflowPercent: number) | implemented |
SetMaximumHealthMode | Changes the calculation mode for maximum health values used for clamping. · warcraft.wiki.gg ↗(maximumHealthMode: UnitMaximumHealthMode) | implemented |
SetPredictedValues | Sets the healing values used for all calculations. · warcraft.wiki.gg ↗(predictedValues: UnitHealPredictionValues) | implemented |
SetToDefaults | Resets all state on the object, and clears the secret values flag. · warcraft.wiki.gg ↗() | implemented |
sources
Methods and inheritance: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗.