Skip to main content

DamageFlagInternal

This is represented as an object instead of an enum due to limitations with TypeScript enums. (We want this type to be a child of the BitFlag type.)

DamageFlag

Enumeration Members

NO_KILL

NO_KILL = number

1 << 0 (1)

Defined in

flags/DamageFlag.ts:11


FIRE

FIRE = number

e.g. fireplace

1 << 1 (2)

Defined in

flags/DamageFlag.ts:18


EXPLOSION

EXPLOSION = number

1 << 2 (4)

Defined in

flags/DamageFlag.ts:21


LASER

LASER = number

1 << 3 (8)

Defined in

flags/DamageFlag.ts:24


ACID

ACID = number

1 << 4 (16)

Defined in

flags/DamageFlag.ts:27


RED_HEARTS

RED_HEARTS = number

1 << 5 (32)

Defined in

flags/DamageFlag.ts:30


COUNTDOWN

COUNTDOWN = number

1 << 6 (64)

Defined in

flags/DamageFlag.ts:33


SPIKES

SPIKES = number

1 << 7 (128)

Defined in

flags/DamageFlag.ts:36


CLONES

CLONES = number

1 << 8 (256)

Defined in

flags/DamageFlag.ts:39


POOP

POOP = number

1 << 9 (512)

Defined in

flags/DamageFlag.ts:42


DEVIL

DEVIL = number

1 << 10 (1024)

Defined in

flags/DamageFlag.ts:45


ISSAC_HEART

ISSAC_HEART = number

1 << 11 (2048)

Defined in

flags/DamageFlag.ts:48


TNT

TNT = number

1 << 12 (4096)

Defined in

flags/DamageFlag.ts:51


INVINCIBLE

INVINCIBLE = number

1 << 13 (8192)

Defined in

flags/DamageFlag.ts:54


SPAWN_FLY

SPAWN_FLY = number

1 << 14 (16384)

Defined in

flags/DamageFlag.ts:57


POISON_BURN

POISON_BURN = number

1 << 15 (32768)

Defined in

flags/DamageFlag.ts:60


CURSED_DOOR

CURSED_DOOR = number

1 << 16 (65536)

Defined in

flags/DamageFlag.ts:63


TIMER

TIMER = number

1 << 17 (131072)

Defined in

flags/DamageFlag.ts:66


IV_BAG

IV_BAG = number

1 << 18 (262144)

Defined in

flags/DamageFlag.ts:69


PITFALL

PITFALL = number

1 << 19 (524288)

Defined in

flags/DamageFlag.ts:72


CHEST

CHEST = number

1 << 20 (1048576)

Defined in

flags/DamageFlag.ts:75


FAKE

FAKE = number

1 << 21 (2097152)

Defined in

flags/DamageFlag.ts:78


BOOGER

BOOGER = number

1 << 22 (4194304)

Defined in

flags/DamageFlag.ts:81


SPAWN_BLACK_HEART

SPAWN_BLACK_HEART = number

1 << 23 (8388608)

Defined in

flags/DamageFlag.ts:84


CRUSH

CRUSH = number

Comes from a strong impact. Can damage Tuff Twins or The Shell (e.g. Mom's foot, shockwaves, rock tears).

1 << 24 (16777216)

Defined in

flags/DamageFlag.ts:92


NO_MODIFIERS

NO_MODIFIERS = number

1 << 25 (33554432)

Defined in

flags/DamageFlag.ts:95


SPAWN_RED_HEART

SPAWN_RED_HEART = number

1 << 26 (67108864)

Defined in

flags/DamageFlag.ts:98


SPAWN_COIN

SPAWN_COIN = number

1 << 27 (134217728)

Defined in

flags/DamageFlag.ts:101


NO_PENALTIES

NO_PENALTIES = number

1 << 28 (268435456)

Defined in

flags/DamageFlag.ts:104


SPAWN_TEMP_HEART

SPAWN_TEMP_HEART = number

1 << 29 (536870912)

Defined in

flags/DamageFlag.ts:107


IGNORE_ARMOR

IGNORE_ARMOR = number

1 << 30 (1073741824)

Defined in

flags/DamageFlag.ts:110


SPAWN_CARD

SPAWN_CARD = number

1 << 31 (2147483648)

Defined in

flags/DamageFlag.ts:113


SPAWN_RUNE

SPAWN_RUNE = number

1 << 32 (4294967296)

Defined in

flags/DamageFlag.ts:116