Skip to content

Character Health Conversion

Defined in: packages/isaacscript-common/src/classes/features/other/CharacterHealthConversion.ts:13

  • Feature

registerCharacterHealthConversion(playerType, conversionHeartSubType): void

Defined in: packages/isaacscript-common/src/classes/features/other/CharacterHealthConversion.ts:92

Helper function to make a character that has the same health mechanic as Blue Baby (red heart containers –> soul hearts) or Dark Judas (red heart containers –> black hearts).

Call this function once at the beginning of your mod to declare the health conversion type.

In order to use this function, you must upgrade your mod with ISCFeature.CHARACTER_HEALTH_CONVERSION.

PlayerType

ConversionHeartSubType

void