Skip to main content

HealthType

This represents the type of health that is either given or taken away from a player. Note that we cannot use the HeartSubType enum for this purpose this since it has no value for broken hearts or max hearts.

Enumeration Members

RED

RED = 0

Defined in

packages/isaacscript-common/src/enums/HealthType.ts:7


SOUL

SOUL = 1

Defined in

packages/isaacscript-common/src/enums/HealthType.ts:8


ETERNAL

ETERNAL = 2

Defined in

packages/isaacscript-common/src/enums/HealthType.ts:9


BLACK

BLACK = 3

Defined in

packages/isaacscript-common/src/enums/HealthType.ts:10


GOLDEN

GOLDEN = 4

Defined in

packages/isaacscript-common/src/enums/HealthType.ts:11


BONE

BONE = 5

Defined in

packages/isaacscript-common/src/enums/HealthType.ts:12


ROTTEN

ROTTEN = 6

Defined in

packages/isaacscript-common/src/enums/HealthType.ts:13


BROKEN

BROKEN = 7

Defined in

packages/isaacscript-common/src/enums/HealthType.ts:14


MAX_HEARTS

MAX_HEARTS = 8

Defined in

packages/isaacscript-common/src/enums/HealthType.ts:15