Skip to content

Tainted Lazarus Players

Defined in: packages/isaacscript-common/src/classes/features/other/TaintedLazarusPlayers.ts:31

This feature provides a way for end-users to get the EntityPlayer object for the other Tainted Lazarus.

  • Feature

vConditionalFunc(): boolean

Defined in: packages/isaacscript-common/src/classes/features/other/TaintedLazarusPlayers.ts:50

boolean

Feature.vConditionalFunc

getTaintedLazarusSubPlayer(player): EntityPlayer | undefined

Defined in: packages/isaacscript-common/src/classes/features/other/TaintedLazarusPlayers.ts:119

Helper function to get the other version of Tainted Lazarus.

  • On Tainted Lazarus, returns the player object for Dead Tainted Lazarus.
  • On Dead Tainted Lazarus, returns the player object for Tainted Lazarus.
  • Returns undefined if player object retrieval failed for any reason.

If you call the EntityPlayer.Exists method on the returned object, it will return false. However, you can still call the other methods like you normally would (e.g. EntityPlayer.AddCollectible).

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

EntityPlayer

EntityPlayer | undefined