isaacscript-common
Version:
Helper functions and features for IsaacScript mods.
48 lines (46 loc) • 1.66 kB
text/typescript
import { PlayerType } from "isaac-typescript-definitions";
/** From: https://bindingofisaacrebirth.fandom.com/wiki/Characters#Regular_Characters */
export const CHARACTER_DAMAGE_MULTIPLIERS = {
[]: 1, // -1
[]: 1, // 0
[]: 1, // 1
[]: 1.2, // 2
[]: 1.35, // 3
[]: 1.05, // 4
[]: 0.75, // 5
[]: 1, // 6
[]: 1.5, // 7
[]: 1, // 8
[]: 1, // 9
[]: 1, // 10
[]: 1.4, // 11
[]: 2, // 12
[]: 1, // 13
[]: 1.2, // 14
[]: 1, // 15
[]: 1.5, // 16
[]: 1, // 17
[]: 1, // 18
[]: 1, // 19
[]: 1, // 20
[]: 1, // 21
[]: 0.75, // 22
[]: 1, // 23
[]: 1, // 24
[]: 1, // 25
[]: 1.2, // 26
[]: 1, // 27
[]: 1.5, // 28
[]: 1, // 29
[]: 1, // 30
[]: 1.3, // 31
[]: 1, // 32
[]: 1, // 33
[]: 1, // 34
[]: 1.5, // 35
[]: 1, // 36
[]: 1, // 37
[]: 1.5, // 38
[]: 1, // 39
[]: 1, // 40
} as const satisfies Record<PlayerType, float>;