Story Bosses
Type Aliases
StoryBossID
Ƭ StoryBossID: typeof STORY_BOSS_IDS
[number
]
A helper type that is a union of every story boss. Useful for data structures that must contain one entry for each story boss.
Defined in
packages/isaacscript-common/src/functions/storyBosses.ts:51
Functions
isStoryBoss
▸ isStoryBoss(entityType
): boolean
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
Name | Type |
---|---|
entityType | EntityType |
Returns
boolean
Defined in
packages/isaacscript-common/src/functions/storyBosses.ts:58
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
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
Name | Type |
---|---|
bossID | BossID |
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