isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
19 lines (14 loc) • 664 B
text/typescript
import { CacheFlag } from "isaac-typescript-definitions";
import { getTearsStat } from "../functions/tears";
import { ReadonlyMap } from "../types/ReadonlyMap";
const DEFAULT_MAX_FIRE_DELAY = 10;
/** The default fire delay is represented in the tear stat, not the `MaxFireDelay` value. */
export const DEFAULT_PLAYER_STAT_MAP = new ReadonlyMap<CacheFlag, number>([
[], // 1 << 0
// The default tears stat is 2.73.
[], // 1 << 1
[], // 1 << 2
[], // 1 << 3
[], // 1 << 4
[], // 1 << 10
]);