Story Bosses
Type Aliases
Section titled “Type Aliases”StoryBossID
Section titled “StoryBossID”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.
Functions
Section titled “Functions”isStoryBoss()
Section titled “isStoryBoss()”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.
Parameters
Section titled “Parameters”entityType
Section titled “entityType”EntityType
Returns
Section titled “Returns”boolean
isStoryBossID()
Section titled “isStoryBossID()”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.
Parameters
Section titled “Parameters”bossID
Section titled “bossID”BossID
Returns
Section titled “Returns”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
