Getting one
bank:nearestBanker():health()
Fields
| Field | Type | Description |
|---|
ratio | number | The bar's fill (getHealthRatio()), 0 to scale. |
|---|
scale | number | The bar's width (getHealthScale()). |
|---|
maxHp | number? | The NPC type's hitpoints from the NPC info table; nil when the table does not know the NPC or has not loaded yet. |
|---|
estimatedHp | number? | The hitpoints the bar stands for, an estimate; nil without maxHp. |
|---|
Returned by
| Method | Returns | Description |
|---|
NPC.health | NpcHealth? | The NPC's health bar (getHealthRatio() of getHealthScale()), with the NPC type's hitpoints from an NPC info table and the hitpoints the… |
|---|