Skip to content

Pony Detection

Defined in: packages/isaacscript-common/src/classes/features/other/PonyDetection.ts:26

  • Feature

isPlayerUsingPony(player): boolean

Defined in: packages/isaacscript-common/src/classes/features/other/PonyDetection.ts:73

Helper function to see if the player is under the effects of A Pony or White Pony charge. Detecting this is difficult, as the temporary effect will disappear upon entering a new room.

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

EntityPlayer

boolean

anyPlayerUsingPony(): boolean

Defined in: packages/isaacscript-common/src/classes/features/other/PonyDetection.ts:86

Helper function to see if any player is under the effects of A Pony or White Pony charge. Detecting this is difficult, as the temporary effect will disappear upon entering a new room.

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

boolean