UNPKG

isaacscript-common

Version:

Helper functions and features for IsaacScript mods.

20 lines 926 B
import type { FamiliarVariant } from "isaac-typescript-definitions"; import { Feature } from "../../private/Feature"; export declare class NoSirenSteal extends Feature { private readonly postNPCInitSirenHelper; private checkReturnFamiliarToPlayer; private blacklistEntryExists; /** * Blacklists a familiar from being stolen by The Siren boss. This should be called once at the * beginning of every run. * * In order to use this function, you must upgrade your mod with `ISCFeature.NO_SIREN_STEAL`. * * @param familiarVariant The familiar variant to blacklist. * @param familiarSubType The sub-type to blacklist. Optional. The default is to blacklist all * sub-types of the given variant. * @public */ setFamiliarNoSirenSteal(familiarVariant: FamiliarVariant, familiarSubType?: int): void; } //# sourceMappingURL=NoSirenSteal.d.ts.map