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
Name | Type |
---|---|
player | EntityPlayer |
diceFloor | EntityEffect |
Returns
boolean