Skip to main content

Effects

Variables

DICE_FLOOR_TRIGGER_SQUARE_SIZE

Const DICE_FLOOR_TRIGGER_SQUARE_SIZE: 75

For EntityType.EFFECT (1000), EffectVariant.DICE_FLOOR (76).

Defined in

packages/isaacscript-common/src/functions/effects.ts:4

Functions

isCloseEnoughToTriggerDiceFloor

isCloseEnoughToTriggerDiceFloor(player, diceFloor): boolean

Helper function to see if a player is close enough to activate a Dice Room floor.

Parameters

NameType
playerEntityPlayer
diceFloorEntityEffect

Returns

boolean

Defined in

packages/isaacscript-common/src/functions/effects.ts:7