Enum "DamageFlag"
DLC |
Value |
Enumerator |
Comment |
|
1 |
DAMAGE_NOKILL |
Damage can not kill the receiver
|
|
1<<1 |
DAMAGE_FIRE |
Source is some sort of fire (ie. fireplace)
|
|
1<<2 |
DAMAGE_EXPLOSION |
Damage comes from an explosion
|
|
1<<3 |
DAMAGE_LASER |
Damage comes from laser
|
|
1<<4 |
DAMAGE_ACID |
Damage comes from acid, e.g. blood acid
|
|
1<<5 |
DAMAGE_RED_HEARTS |
Damage affects only red hearts if > 1 (ex: razor)
|
|
1<<6 |
DAMAGE_COUNTDOWN |
Damage from unicorn horn, the nail, game kid that has cooldown
|
|
1<<7 |
DAMAGE_SPIKES |
Damage from spikes
|
|
1<<8 |
DAMAGE_CLONES |
Damage is done by clones when they took damage, avoid infinite loops
|
|
1<<9 |
DAMAGE_POOP |
Damage from red poop
|
|
1<<10 |
DAMAGE_DEVIL |
|
|
1<<11 |
DAMAGE_ISSAC_HEART |
Indicates the damage has been redirected from Isaac's Heart familiar
|
|
1<<12 |
DAMAGE_TNT |
Damage comes from a TNT barrel
|
|
1<<13 |
DAMAGE_INVINCIBLE |
Damages even if invincible (currently only for player). Used on IV Bag.
|
|
1<<14 |
DAMAGE_SPAWN_FLY |
Creates a fly when damage is applied
|
|
1<<15 |
DAMAGE_POISON_BURN |
Damage comes from POISON/BURN flags
|
|
1<<16 |
DAMAGE_CURSED_DOOR |
Damage comes from a cursed door
|
|
1<<17 |
DAMAGE_TIMER |
Damage comes from the passage of time (used for player damage by time limited special seeds)
|
|
1<<18 |
DAMAGE_IV_BAG |
Damage from using the IV Bag
|
|
1<<19 |
DAMAGE_PITFALL |
Damage comes from pitfalls (such as ones spawned by Little Horn)
|
|
1<<20 |
DAMAGE_CHEST |
Damage comes from spiked chest
|
|
1<<21 |
DAMAGE_FAKE |
Fake damage that should trigger player's damage effects.
|
|
1<<22 |
DAMAGE_BOOGER |
Damage from booger tear
|
Last update:
January 24, 2021