Tainted Lazarus Players
Classes
Section titled “Classes”TaintedLazarusPlayers
Section titled “TaintedLazarusPlayers”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.
Extends
Section titled “Extends”Feature
Methods
Section titled “Methods”vConditionalFunc()
Section titled “vConditionalFunc()”vConditionalFunc():
boolean
Defined in: packages/isaacscript-common/src/classes/features/other/TaintedLazarusPlayers.ts:50
Returns
Section titled “Returns”boolean
Overrides
Section titled “Overrides”Feature.vConditionalFunc
getTaintedLazarusSubPlayer()
Section titled “getTaintedLazarusSubPlayer()”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.
Parameters
Section titled “Parameters”player
Section titled “player”EntityPlayer
Returns
Section titled “Returns”EntityPlayer | undefined
