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
FIRE
• FIRE = number
e.g. fireplace
1 << 1 (2)
Defined in
EXPLOSION
• EXPLOSION = number
1 << 2 (4)
Defined in
LASER
• LASER = number
1 << 3 (8)
Defined in
ACID
• ACID = number
1 << 4 (16)
Defined in
RED_HEARTS
• RED_HEARTS = number
1 << 5 (32)
Defined in
COUNTDOWN
• COUNTDOWN = number
1 << 6 (64)
Defined in
SPIKES
• SPIKES = number
1 << 7 (128)
Defined in
CLONES
• CLONES = number
1 << 8 (256)
Defined in
POOP
• POOP = number
1 << 9 (512)
Defined in
DEVIL
• DEVIL = number
1 << 10 (1024)
Defined in
ISSAC_HEART
• ISSAC_HEART = number
1 << 11 (2048)
Defined in
TNT
• TNT = number
1 << 12 (4096)
Defined in
INVINCIBLE
• INVINCIBLE = number
1 << 13 (8192)
Defined in
SPAWN_FLY
• SPAWN_FLY = number
1 << 14 (16384)
Defined in
POISON_BURN
• POISON_BURN = number
1 << 15 (32768)
Defined in
CURSED_DOOR
• CURSED_DOOR = number
1 << 16 (65536)
Defined in
TIMER
• TIMER = number
1 << 17 (131072)
Defined in
IV_BAG
• IV_BAG = number
1 << 18 (262144)
Defined in
PITFALL
• PITFALL = number
1 << 19 (524288)
Defined in
CHEST
• CHEST = number
1 << 20 (1048576)
Defined in
FAKE
• FAKE = number
1 << 21 (2097152)
Defined in
BOOGER
• BOOGER = number
1 << 22 (4194304)
Defined in
SPAWN_BLACK_HEART
• SPAWN_BLACK_HEART = number
1 << 23 (8388608)
Defined in
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
NO_MODIFIERS
• NO_MODIFIERS = number
1 << 25 (33554432)
Defined in
SPAWN_RED_HEART
• SPAWN_RED_HEART = number
1 << 26 (67108864)
Defined in
SPAWN_COIN
• SPAWN_COIN = number
1 << 27 (134217728)
Defined in
NO_PENALTIES
• NO_PENALTIES = number
1 << 28 (268435456)
Defined in
SPAWN_TEMP_HEART
• SPAWN_TEMP_HEART = number
1 << 29 (536870912)
Defined in
IGNORE_ARMOR
• IGNORE_ARMOR = number
1 << 30 (1073741824)
Defined in
SPAWN_CARD
• SPAWN_CARD = number
1 << 31 (2147483648)
Defined in
SPAWN_RUNE
• SPAWN_RUNE = number
1 << 32 (4294967296)