TearFlag
constTearFlag:object
Defined in: flags/TearFlag.ts:23
Not Exported
For EntityType.TEAR (2).
This enum was renamed from “TearFlags” to be consistent with the other flag enums.
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. Furthermore, enums cannot be instantiated
with BitSet128 objects.)
Generally, the TearVariant affects the graphics of the tear, while the TearFlag affects the
gameplay mechanic. For example, the Euthanasia collectible grants a chance for needle tears that
explode. TearVariant.NEEDLE makes the tear look like a needle, and the exploding effect comes
from TearFlag.NEEDLE.
However, there are some exceptions. For example, Sharp Key makes Isaac shoot key tears that deal
extra damage. Both the graphical effect and the extra damage are granted by
TearVariant.KEY_BLOOD.
Type Declaration
Section titled “Type Declaration”NORMAL
Section titled “NORMAL”
readonlyNORMAL:BitSet128
Default tear (no special effects).
1 << -1 (0)
SPECTRAL
Section titled “SPECTRAL”
readonlySPECTRAL:BitSet128
Goes through obstacles. Used by Ouija Board.
1 << 0 (1)
PIERCING
Section titled “PIERCING”
readonlyPIERCING:BitSet128
Goes through enemies. Used by Cupid’s Arrow.
1 << 1 (2)
HOMING
Section titled “HOMING”
readonlyHOMING:BitSet128
Used by Spoon Bender.
1 << 2 (4)
readonlySLOW:BitSet128
Slows enemies on contact. Used by Spider Bite.
1 << 3 (8)
POISON
Section titled “POISON”
readonlyPOISON:BitSet128
Used by The Common Cold.
1 << 4 (16)
FREEZE
Section titled “FREEZE”
readonlyFREEZE:BitSet128
Freezes enemies in place. (For the ice effect, see TearFlag.TEAR_ICE.) Used by Mom’s
Contacts.
1 << 5 (32)
readonlySPLIT:BitSet128
Splits into two different tears on collision. Used by The Parasite.
1 << 6 (64)
readonlyGROW:BitSet128
The tear increases in size and damage the longer it travels. Used by Lump of Coal.
1 << 7 (128)
BOOMERANG
Section titled “BOOMERANG”
readonlyBOOMERANG:BitSet128
Returns backwards after traveling for a little while. Used by My Reflection.
1 << 8 (256)
PERSISTENT
Section titled “PERSISTENT”
readonlyPERSISTENT:BitSet128
Keeps going past enemies that it kills (with less damage). Used by Polyphemus.
1 << 9 (512)
WIGGLE
Section titled “WIGGLE”
readonlyWIGGLE:BitSet128
Used by the Wiggle Worm trinket.
1 << 10 (1024)
MULLIGAN
Section titled “MULLIGAN”
readonlyMULLIGAN:BitSet128
Created a blue fly on hit. Used by The Mulligan.
1 << 11 (2048)
EXPLOSIVE
Section titled “EXPLOSIVE”
readonlyEXPLOSIVE:BitSet128
Explodes on hit. Used by Ipecac.
1 << 12 (4096)
readonlyCHARM:BitSet128
Used by Mom’s Eyeshadow.
1 << 13 (8192)
CONFUSION
Section titled “CONFUSION”
readonlyCONFUSION:BitSet128
Used by Iron Bar.
1 << 14 (16384)
HP_DROP
Section titled “HP_DROP”
readonlyHP_DROP:BitSet128
Enemies killed have a 33% chance to drop a heart. Used by Tainted Magdalene.
1 << 15 (32768)
readonlyORBIT:BitSet128
Tears orbit around the player. Used by Tiny Planet.
1 << 16 (65536)
readonlyWAIT:BitSet128
Floats in place until the player releases the fire button. Used by Anti-Gravity.
1 << 17 (131072)
QUAD_SPLIT
Section titled “QUAD_SPLIT”
readonlyQUAD_SPLIT:BitSet128
Splits into four different tears on collision. Used by Cricket’s Body.
1 << 18 (262144)
BOUNCE
Section titled “BOUNCE”
readonlyBOUNCE:BitSet128
Bounces off of enemies, walls, rocks, and so on. Used by Rubber Cement.
1 << 19 (524288)
readonlyFEAR:BitSet128
Used by Mom’s Perfume.
1 << 20 (1048576)
SHRINK
Section titled “SHRINK”
readonlySHRINK:BitSet128
The tear shrinks the longer it travels. Used by Proptosis.
1 << 21 (2097152)
readonlyBURN:BitSet128
Used by Fire Mind.
1 << 22 (4194304)
ATTRACTOR
Section titled “ATTRACTOR”
readonlyATTRACTOR:BitSet128
Attracts enemies and pickups. Used by Strange Attractor.
1 << 23 (8388608)
KNOCKBACK
Section titled “KNOCKBACK”
readonlyKNOCKBACK:BitSet128
Pushes enemies back further than normal.
1 << 24 (16777216)
readonlyPULSE:BitSet128
Used by Pulse Worm.
1 << 25 (33554432)
SPIRAL
Section titled “SPIRAL”
readonlySPIRAL:BitSet128
Used by Ring Worm.
1 << 26 (67108864)
readonlyFLAT:BitSet128
Used by Flat Worm.
1 << 27 (134217728)
SAD_BOMB
Section titled “SAD_BOMB”
readonlySAD_BOMB:BitSet128
Makes tears explode out of the bomb. Used by Sad Bombs.
1 << 28 (268435456)
BUTT_BOMB
Section titled “BUTT_BOMB”
readonlyBUTT_BOMB:BitSet128
Damages everything in the room when it explodes. Used by Butt Bombs.
1 << 29 (536870912)
SQUARE
Section titled “SQUARE”
readonlySQUARE:BitSet128
Used by Hook Worm.
1 << 30 (1073741824)
readonlyGLOW:BitSet128
Creates an aura around the tear. Used by Godhead.
1 << 31 (2147483648)
readonlyGISH:BitSet128
Slows enemies and colors them black. Used by Lil Gish.
1 << 32 (4294967296)
MYSTERIOUS_LIQUID_CREEP
Section titled “MYSTERIOUS_LIQUID_CREEP”
readonlyMYSTERIOUS_LIQUID_CREEP:BitSet128
Spawns green creep on hit. Used by Mysterious Liquid.
1 << 33
SHIELDED
Section titled “SHIELDED”
readonlySHIELDED:BitSet128
Deletes projectiles that it collides with. Used by Lost Contact.
1 << 34
GLITTER_BOMB
Section titled “GLITTER_BOMB”
readonlyGLITTER_BOMB:BitSet128
Spawns a pickup upon exploding. Used by Glitter Bombs.
1 << 35
SCATTER_BOMB
Section titled “SCATTER_BOMB”
readonlySCATTER_BOMB:BitSet128
Splits into 5 little bombs upon exploding. Used by Scatter Bombs.
1 << 36
STICKY
Section titled “STICKY”
readonlySTICKY:BitSet128
Sticks to enemies and continues to deal damage. Used by Explosivo and Sticky Bombs.
1 << 37
CONTINUUM
Section titled “CONTINUUM”
readonlyCONTINUUM:BitSet128
Pass through walls to loop around the screen. Used by Continuum.
1 << 38
LIGHT_FROM_HEAVEN
Section titled “LIGHT_FROM_HEAVEN”
readonlyLIGHT_FROM_HEAVEN:BitSet128
Creates a light beam on hit. Used by Holy Light.
1 << 39
COIN_DROP
Section titled “COIN_DROP”
readonlyCOIN_DROP:BitSet128
Spawns a coin on hit. Used by Bumbo.
1 << 40
BLACK_HP_DROP
Section titled “BLACK_HP_DROP”
readonlyBLACK_HP_DROP:BitSet128
Enemies killed will spawn a black heart.
1 << 41
TRACTOR_BEAM
Section titled “TRACTOR_BEAM”
readonlyTRACTOR_BEAM:BitSet128
Follows the parent player’s beam. Used by Tractor Beam.
1 << 42
GODS_FLESH
Section titled “GODS_FLESH”
readonlyGODS_FLESH:BitSet128
Shrink enemies on hit. Used by God’s Flesh.
1 << 43
GREED_COIN
Section titled “GREED_COIN”
readonlyGREED_COIN:BitSet128
Have a chance to spawn a coin on hit.
1 << 44
CROSS_BOMB
Section titled “CROSS_BOMB”
readonlyCROSS_BOMB:BitSet128
Causes a large explosion in the shape of a cross. Used by Bomber Boy.
1 << 45
BIG_SPIRAL
Section titled “BIG_SPIRAL”
readonlyBIG_SPIRAL:BitSet128
Used by Ouroboros Worm.
1 << 46
PERMANENT_CONFUSION
Section titled “PERMANENT_CONFUSION”
readonlyPERMANENT_CONFUSION:BitSet128
Used by Glaucoma.
1 << 47
BOOGER
Section titled “BOOGER”
readonlyBOOGER:BitSet128
Sticks to enemies and does damage over time. Used by Sinus Infection.
1 << 48
readonlyEGG:BitSet128
Spawns creep on hit and spawns blue flies or spiders. Used by Parasitoid.
1 << 49
readonlyACID:BitSet128
Can open doors or break grid entities. Used by Sulfuric Acid.
1 << 50
readonlyBONE:BitSet128
Splits into two tears. Used by Compound Fracture.
1 << 51
BELIAL
Section titled “BELIAL”
readonlyBELIAL:BitSet128
Piercing. When passing through an enemy, gains homing and does double damage. Used by Eye of Belial.
1 << 52
readonlyMIDAS:BitSet128
Enemies turn gold and drop coins on death. Used by Midas’ Touch.
1 << 53
NEEDLE
Section titled “NEEDLE”
readonlyNEEDLE:BitSet128
Used by Euthanasia.
1 << 54
JACOBS
Section titled “JACOBS”
readonlyJACOBS:BitSet128
Causes electricity to ripple around the room, damaging enemies. Used by Jacob’s Ladder.
1 << 55
readonlyHORN:BitSet128
Void tears. Instantly kills enemies. Used by Little Horn.
1 << 56
readonlyLASER:BitSet128
Electricity arcs between tears. Used by Technology Zero.
1 << 57
readonlyPOP:BitSet128
Tears stay in the air and bump into each other. Used by Pop!
1 << 58
ABSORB
Section titled “ABSORB”
readonlyABSORB:BitSet128
Tears combine when they collide into each other. Used by Lachryphagy.
1 << 59
LASER_SHOT
Section titled “LASER_SHOT”
readonlyLASER_SHOT:BitSet128
Lasers are generated on top of the tear. Used by Trisagion.
1 << 60
HYDRO_BOUNCE
Section titled “HYDRO_BOUNCE”
readonlyHYDRO_BOUNCE:BitSet128
Continually bounces as it travels. Used by Flat Stone.
1 << 61
BURST_SPLIT
Section titled “BURST_SPLIT”
readonlyBURST_SPLIT:BitSet128
Arcing shots that split into smaller tears on impact. Used by Haemolacria.
1 << 62
CREEP_TRAIL
Section titled “CREEP_TRAIL”
readonlyCREEP_TRAIL:BitSet128
Spawns green creep. Used by Bob’s Bladder.
1 << 63
readonlyPUNCH:BitSet128
Knockback tears. Used by Knockout Drops.
1 << 64
readonlyICE:BitSet128
Enemies become frozen on death. (For the freeze-in-place effect, see TearFlag.FREEZE.)
1 << 65
MAGNETIZE
Section titled “MAGNETIZE”
readonlyMAGNETIZE:BitSet128
Enemies being magnetized and pull other things towards them. Used by Lodestone.
1 << 66
readonlyBAIT:BitSet128
Marks enemies. Marked enemies will attack and damage each other, as well as have reduced movement speed. Used by Rotten Tomato.
1 << 67
OCCULT
Section titled “OCCULT”
readonlyOCCULT:BitSet128
Velocity can be adjusted by the player while in the air. Used by Eye of the Occult.
1 << 68
ORBIT_ADVANCED
Section titled “ORBIT_ADVANCED”
readonlyORBIT_ADVANCED:BitSet128
Tears orbit in a narrow and stable orbit. Used by Saturnus.
1 << 69
readonlyROCK:BitSet128
Chance to break rocks and open doors. Deals extra damage to rock-type enemies.
1 << 70
TURN_HORIZONTAL
Section titled “TURN_HORIZONTAL”
readonlyTURN_HORIZONTAL:BitSet128
Tears turn and go horizontally when moving past an enemy. Used by Brain Worm.
1 << 71
BLOOD_BOMB
Section titled “BLOOD_BOMB”
readonlyBLOOD_BOMB:BitSet128
Spawns red creep.
1 << 72
readonlyECOLI:BitSet128
Enemies are turned into poop.
1 << 73
COIN_DROP_DEATH
Section titled “COIN_DROP_DEATH”
readonlyCOIN_DROP_DEATH:BitSet128
Enemies have a chance to drop a coin on death. Used by The Hanged Man?
1 << 74
BRIMSTONE_BOMB
Section titled “BRIMSTONE_BOMB”
readonlyBRIMSTONE_BOMB:BitSet128
Explosion creates a Brimstone laser cross pattern.
1 << 75
readonlyRIFT:BitSet128
Creates a black hole on impact.
1 << 76
readonlySPORE:BitSet128
Sticks to enemies and multiplies on enemy death.
1 << 77
GHOST_BOMB
Section titled “GHOST_BOMB”
readonlyGHOST_BOMB:BitSet128
Spawns a ghost upon explosion.
1 << 78
CARD_DROP_DEATH
Section titled “CARD_DROP_DEATH”
readonlyCARD_DROP_DEATH:BitSet128
Killed enemies will drop a random tarot card.
1 << 79
RUNE_DROP_DEATH
Section titled “RUNE_DROP_DEATH”
readonlyRUNE_DROP_DEATH:BitSet128
Killed enemies will drop a random rune.
1 << 80
TELEPORT
Section titled “TELEPORT”
readonlyTELEPORT:BitSet128
Enemies will teleport to a different part of the room on hit.
1 << 81
TEAR_DECELERATE
Section titled “TEAR_DECELERATE”
readonlyTEAR_DECELERATE:BitSet128
Used on tears fired on the G-Fuel seed to keep them lingering on a single spot before dropping to the ground. (This is only present on some of the weapon types.)
1 << 82
TEAR_ACCELERATE
Section titled “TEAR_ACCELERATE”
readonlyTEAR_ACCELERATE:BitSet128
Used on tears fired on the G-Fuel seed to make them accelerate over time. (This is only present on some of the weapon types.)
1 << 83
BOUNCE_WALLS_ONLY
Section titled “BOUNCE_WALLS_ONLY”
readonlyBOUNCE_WALLS_ONLY:BitSet128
This is a reserved flag and cannot be randomly picked.
Similar to TearFlag.BOUNCE but only bounces off walls, not enemies.
1 << 104
NO_GRID_DAMAGE
Section titled “NO_GRID_DAMAGE”
readonlyNO_GRID_DAMAGE:BitSet128
This is a reserved flag and cannot be randomly picked.
Cannot deal damage to grid entities. This is used by Saturnus to prevent unfair damage in some rooms.
1 << 105
BACKSTAB
Section titled “BACKSTAB”
readonlyBACKSTAB:BitSet128
This is a reserved flag and cannot be randomly picked.
Deals extra damage from behind and inflicts bleeding.
1 << 106
FETUS_SWORD
Section titled “FETUS_SWORD”
readonlyFETUS_SWORD:BitSet128
This is a reserved flag and cannot be randomly picked.
Fetuses whack their target with a sword and perform spin attacks.
1 << 107
FETUS_BONE
Section titled “FETUS_BONE”
readonlyFETUS_BONE:BitSet128
This is a reserved flag and cannot be randomly picked.
Fetuses whack their target with a bone club instead of ramming into them.
1 << 108
FETUS_KNIFE
Section titled “FETUS_KNIFE”
readonlyFETUS_KNIFE:BitSet128
This is a reserved flag and cannot be randomly picked.
Fetuses carry a knife.
1 << 109
FETUS_TECH_X
Section titled “FETUS_TECH_X”
readonlyFETUS_TECH_X:BitSet128
This is a reserved flag and cannot be randomly picked.
Fetuses have a Tech X ring around them.
1 << 110
FETUS_TECH
Section titled “FETUS_TECH”
readonlyFETUS_TECH:BitSet128
This is a reserved flag and cannot be randomly picked.
Fetuses keep their distance and occasionally shoot tech lasers at their target.
1 << 111
FETUS_BRIMSTONE
Section titled “FETUS_BRIMSTONE”
readonlyFETUS_BRIMSTONE:BitSet128
This is a reserved flag and cannot be randomly picked.
Fetuses shoot a brimstone beam at the first enemy they hit.
1 << 112
FETUS_BOMBER
Section titled “FETUS_BOMBER”
readonlyFETUS_BOMBER:BitSet128
This is a reserved flag and cannot be randomly picked.
Fetuses drop a bomb on their first impact with an enemy.
1 << 113
readonlyFETUS:BitSet128
This is a reserved flag and cannot be randomly picked.
The base flag for C-Section fetuses.
1 << 114
REROLL_ROCK_WISP
Section titled “REROLL_ROCK_WISP”
readonlyREROLL_ROCK_WISP:BitSet128
This is a reserved flag and cannot be randomly picked.
1 << 115
MOM_STOMP_WISP
Section titled “MOM_STOMP_WISP”
readonlyMOM_STOMP_WISP:BitSet128
This is a reserved flag and cannot be randomly picked.
1 << 116
ENEMY_TO_WISP
Section titled “ENEMY_TO_WISP”
readonlyENEMY_TO_WISP:BitSet128
This is a reserved flag and cannot be randomly picked.
1 << 117
REROLL_ENEMY
Section titled “REROLL_ENEMY”
readonlyREROLL_ENEMY:BitSet128
Chance to reroll the enemy on hit. Used by D10 wisps.
This is a reserved flag and cannot be randomly picked.
1 << 118
GIGA_BOMB
Section titled “GIGA_BOMB”
readonlyGIGA_BOMB:BitSet128
Causes giant explosions that create pits. Used by Giga Bombs.
This is a reserved flag and cannot be randomly picked.
1 << 119
EXTRA_GORE
Section titled “EXTRA_GORE”
readonlyEXTRA_GORE:BitSet128
Enemies explode into more gibs on death than normal. Used by Berserk!
This is a reserved flag and cannot be randomly picked.
1 << 120
RAINBOW
Section titled “RAINBOW”
readonlyRAINBOW:BitSet128
Lasers cycle between colors, causing a rainbow effect.
This is a reserved flag and cannot be randomly picked.
1 << 121
DETONATE
Section titled “DETONATE”
readonlyDETONATE:BitSet128
Bombs can be detonated by Remote Detonator.
This is a reserved flag and cannot be randomly picked.
1 << 122
readonlyCHAIN:BitSet128
Tears stick to each other and form a chain that can be swung around. Used by Akeldama.
This is a reserved flag and cannot be randomly picked.
1 << 123
DARK_MATTER
Section titled “DARK_MATTER”
readonlyDARK_MATTER:BitSet128
Black aura effect. Used by Dark Matter.
This is a reserved flag and cannot be randomly picked.
1 << 124
GOLDEN_BOMB
Section titled “GOLDEN_BOMB”
readonlyGOLDEN_BOMB:BitSet128
Bombs dropped while having a Golden Bomb will have this flag.
This is a reserved flag and cannot be randomly picked.
1 << 125
FAST_BOMB
Section titled “FAST_BOMB”
readonlyFAST_BOMB:BitSet128
Bombs dropped while having Fast Bombs will have this flag.
This is a reserved flag and cannot be randomly picked.
1 << 126
LUDOVICO
Section titled “LUDOVICO”
readonlyLUDOVICO:BitSet128
A single tear controlled by the player with the shooting keys. Used by The Ludovico Technique.
This is a reserved flag and cannot be randomly picked.
1 << 127
