programming-game
Version:
The client for programming game, an mmorpg that you interact with entirely through code.
37 lines (36 loc) • 807 B
TypeScript
export interface UnitStats {
/**
* Movement speed in meters per second.
*/
movementSpeed: number;
/**
* Mana regeneration rate in mana per second.
*/
mpRegen: number;
/**
* How much damage the unit can do relative to the target's defense.
*/
attack: number;
/**
* How much physical attack damage can be mitigated.
*/
defense: number;
/**
* The maximum mana this unit can have.
*/
maxMp: number;
/**
* The maximum health this unit can have.
*/
maxHp: number;
/**
* The maximum technique points this unit can have.
*/
maxTp: number;
/**
* How large the unit is in meters.
*/
radius: number;
/** How far this unit can see in meters. */
sightRange: number;
}