UNPKG

isaacscript-common

Version:

Helper functions and features for IsaacScript mods.

21 lines 874 B
import { ModCallbackCustom } from "../../enums/ModCallbackCustom"; import { shouldFirePlayer } from "../../shouldFire"; import type { PlayerIndex } from "../../types/PlayerIndex"; import { CustomCallback } from "../private/CustomCallback"; export declare class PostPlayerFatalDamage extends CustomCallback<ModCallbackCustom.POST_PLAYER_FATAL_DAMAGE> { v: { run: { /** Needed to detect if Glass Cannon will kill the player. */ playersLastDamageGameFrame: Map<PlayerIndex, int>; }; }; constructor(); protected shouldFire: typeof shouldFirePlayer; /** * Using The Bible on Satan is one of the few ways to die without taking damage, so we need to * handle this case. */ private readonly preUseItemBible; private readonly entityTakeDmgPlayer; } //# sourceMappingURL=PostPlayerFatalDamage.d.ts.map