v0.13.8

UnitHealPredictionCalculator

object type35 methodsavailable in: camelot

Methods

In the emulator: 35 implemented.

methodwhat it doesstatus
EvaluateCurrentHealthPercentCalculates the percentage of current unit health and evaluates it against the supplied curve. · warcraft.wiki.gg ↗
(curve: LuaCurveObjectBase): LuaCurveEvaluatedResult
implemented
EvaluateMissingHealthPercentCalculates the percentage of missing unit health and evaluates it against the supplied curve. · warcraft.wiki.gg ↗
(curve: LuaCurveObjectBase): LuaCurveEvaluatedResult
implemented
GetCurrentHealthReturns the base amount of unit health. · warcraft.wiki.gg ↗
(): number
implemented
GetCurrentHealthPercentReturns the percentage of current unit health. · warcraft.wiki.gg ↗
(): number
implemented
GetDamageAbsorbClampModeReturns the configured damage absorb clamping mode. · warcraft.wiki.gg ↗
(): UnitDamageAbsorbClampMode
implemented
GetDamageAbsorbsCalculates damage absorb values and clamping according to the configured options. · warcraft.wiki.gg ↗
(): (number, boolean)
implemented
GetHealAbsorbClampModeReturns the configured heal absorb clamping mode. · warcraft.wiki.gg ↗
(): UnitHealAbsorbClampMode
implemented
GetHealAbsorbModeReturns the configured heal absorb processing mode. · warcraft.wiki.gg ↗
(): UnitHealAbsorbMode
implemented
GetHealAbsorbsCalculates heal absorb values and clamping according to the configured options. · warcraft.wiki.gg ↗
(): (number, boolean)
implemented
GetIncomingHealClampModeReturns the configured incoming heal clamping mode. · warcraft.wiki.gg ↗
(): UnitIncomingHealClampMode
implemented
GetIncomingHealOverflowPercentReturns the configured incoming heal maximum overflow percentage. · warcraft.wiki.gg ↗
(): number
implemented
GetIncomingHealsCalculates incoming heal values and clamping according to the configured options. · warcraft.wiki.gg ↗
(): (number, number, number, boolean)
implemented
GetMaximumDamageAbsorbsReturns the maximum clamping amount for damage absorbs. · warcraft.wiki.gg ↗
(): number
implemented
GetMaximumHealAbsorbsReturns the maximum clamping amount for heal absorbs. · warcraft.wiki.gg ↗
(): number
implemented
GetMaximumHealthReturns the base amount of maximum unit health. · warcraft.wiki.gg ↗
(): number
implemented
GetMaximumHealthModeReturns the configured maximum health mode. · warcraft.wiki.gg ↗
(): UnitMaximumHealthMode
implemented
GetMaximumIncomingHealsReturns the maximum clamping amount for incoming heals. · warcraft.wiki.gg ↗
(): number
implemented
GetMissingHealthReturns the base amount of missing unit health. · warcraft.wiki.gg ↗
(): number
implemented
GetMissingHealthPercentReturns the percentage of missing unit health. · warcraft.wiki.gg ↗
(): number
implemented
GetPredictedValuesReturns the raw total figures used for data calculations. · warcraft.wiki.gg ↗
(): UnitHealPredictionValues
implemented
GetTotalDamageAbsorbsReturns the base total amount of all applied damage absorb shields. · warcraft.wiki.gg ↗
(): number
implemented
GetTotalHealAbsorbsReturns the base total amount of all applied heal absorption effects. · warcraft.wiki.gg ↗
(): number
implemented
GetTotalIncomingHealsReturns the base total amount of all incoming heals. · warcraft.wiki.gg ↗
(): number
implemented
GetTotalIncomingHealsFromHealerReturns the base total amount of all incoming heals from the healer unit, if any. · warcraft.wiki.gg ↗
(): number
implemented
HasSecretValuesReturns true if the object has been configured with any secret values. · warcraft.wiki.gg ↗
(): boolean
implemented
ResetResets all stored state on the object. · warcraft.wiki.gg ↗
()
implemented
ResetPredictedValuesResets all stored healing values used for calculations. · warcraft.wiki.gg ↗
()
implemented
SetDamageAbsorbClampModeChanges the clamping mode used when calculating damage absorb amounts. · warcraft.wiki.gg ↗
(damageAbsorbClampMode: UnitDamageAbsorbClampMode)
implemented
SetHealAbsorbClampModeChanges the clamping mode used when calculating heal absorb amounts. · warcraft.wiki.gg ↗
(healAbsorbClampMode: UnitHealAbsorbClampMode)
implemented
SetHealAbsorbModeChanges the processing mode used when calculating both heal absorb and incoming heal amounts. · warcraft.wiki.gg ↗
(healAbsorbMode: UnitHealAbsorbMode)
implemented
SetIncomingHealClampModeChanges the clamping mode used when calculating incoming heal amounts. · warcraft.wiki.gg ↗
(incomingHealClampMode: UnitIncomingHealClampMode)
implemented
SetIncomingHealOverflowPercentChanges 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
SetMaximumHealthModeChanges the calculation mode for maximum health values used for clamping. · warcraft.wiki.gg ↗
(maximumHealthMode: UnitMaximumHealthMode)
implemented
SetPredictedValuesSets the healing values used for all calculations. · warcraft.wiki.gg ↗
(predictedValues: UnitHealPredictionValues)
implemented
SetToDefaultsResets 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 ↗.