Skip to content

Story Bosses

StoryBossID = typeof STORY_BOSS_IDS[number]

Defined in: packages/isaacscript-common/src/functions/storyBosses.ts:51

A helper type that is a union of every story boss. Useful for data structures that must contain one entry for each story boss.

isStoryBoss(entityType): boolean

Defined in: packages/isaacscript-common/src/functions/storyBosses.ts:58

Helper function to determine if the specified entity type is an end-game story boss, like Isaac, Blue Baby, Mega Satan, The Beast, and so on. This is useful because certain effects should only apply to non-story bosses, like Vanishing Twin.

EntityType

boolean


isStoryBossID(bossID): bossID is MOM | MOMS_HEART | SATAN | IT_LIVES | ISAAC | BLUE_BABY | LAMB | MEGA_SATAN | ULTRA_GREED | HUSH | DELIRIUM | ULTRA_GREEDIER | MOTHER | MAUSOLEUM_MOM | MAUSOLEUM_MOMS_HEART | DOGMA | BEAST

Defined in: packages/isaacscript-common/src/functions/storyBosses.ts:67

Helper function to determine if the specified boss ID is an end-game story boss, like Isaac, Blue Baby, Mega Satan, The Beast, and so on. This is useful because certain effects should only apply to non-story bosses, like Vanishing Twin.

BossID

bossID is MOM | MOMS_HEART | SATAN | IT_LIVES | ISAAC | BLUE_BABY | LAMB | MEGA_SATAN | ULTRA_GREED | HUSH | DELIRIUM | ULTRA_GREEDIER | MOTHER | MAUSOLEUM_MOM | MAUSOLEUM_MOMS_HEART | DOGMA | BEAST