UNPKG

@galaxyops/character-sheet-contracts

Version:
48 lines (44 loc) 1.2 kB
/* * Gauge attributes * Gauges have a current value and a maximum value. * The maximum value may be exceeded, but the current value cannot be negative. * The current value is variable, and may be modified by actions. * The maximum value is fixed, and cannot be modified by actions. Instead it is computed from the * character's discipline, the character's level, and the character's gear. * https://en.wikipedia.org/wiki/Attribute_(role-playing_games) */ export enum GaugeAttribute { LIFE = 'Life', SPIRIT = 'Spirit', DRIVE = 'Drive', } export enum BaseAttribute { POWER = 'Power', SPEED = 'Speed', WISDOM = 'Wisdom', INTELLIGENCE = 'Intelligence', DEFENSE = 'Defense', ACCURACY = 'Accuracy', EVASION = 'Evasion', LUCK = 'Luck', } export enum CharacterAttribute { EXPERIENCE = 'Experience', } /* * Attributes are metrics that describe a character's **last known state**. */ export enum Attribute { LIFE = 'Life', SPIRIT = 'Spirit', DRIVE = 'Drive', POWER = 'Power', SPEED = 'Speed', WISDOM = 'Wisdom', INTELLIGENCE = 'Intelligence', DEFENSE = 'Defense', ACCURACY = 'Accuracy', EVASION = 'Evasion', LUCK = 'Luck', EXPERIENCE = 'Experience', }