PlayerHealth
This is used by the getPlayerHealth
and setPlayerHealth
helper functions.
Properties
maxHearts
• maxHearts: int
Defined in
packages/isaacscript-common/src/interfaces/PlayerHealth.ts:5
hearts
• hearts: int
Defined in
packages/isaacscript-common/src/interfaces/PlayerHealth.ts:6
eternalHearts
• eternalHearts: int
Defined in
packages/isaacscript-common/src/interfaces/PlayerHealth.ts:7
soulHearts
• soulHearts: int
For soul hearts to apply, they also have to be specified in the soulHeartTypes
array.
Defined in
packages/isaacscript-common/src/interfaces/PlayerHealth.ts:10
boneHearts
• boneHearts: int
For bone hearts to apply, they also have to be specified in the soulHeartTypes
array.
Defined in
packages/isaacscript-common/src/interfaces/PlayerHealth.ts:13
goldenHearts
• goldenHearts: int
Defined in
packages/isaacscript-common/src/interfaces/PlayerHealth.ts:15
rottenHearts
• rottenHearts: int
Defined in
packages/isaacscript-common/src/interfaces/PlayerHealth.ts:16
brokenHearts
• brokenHearts: int
Defined in
packages/isaacscript-common/src/interfaces/PlayerHealth.ts:17
soulCharges
• soulCharges: int
Defined in
packages/isaacscript-common/src/interfaces/PlayerHealth.ts:18
bloodCharges
• bloodCharges: int
Defined in
packages/isaacscript-common/src/interfaces/PlayerHealth.ts:19
soulHeartTypes
• soulHeartTypes: SoulHeartType
[]
Defined in
packages/isaacscript-common/src/interfaces/PlayerHealth.ts:21