VeterancyOptions beta
Interface of @v12-engine/engine
ts
export interface VeterancyOptionsWhat veterancy is made of (veterancyPack)
Members
earns
ts
earns?: (world: World, entity: Entity) => boolean;Who earns it: units of a player's that are not heroes and not structures, when left out
ranks
ts
ranks?: readonly VeterancyRank[];The ranks, from the lowest: VETERANCY_RANKS when left out
worth
ts
worth?: (world: World, dead: Entity, killer: Entity) => number;What a kill is worth to the killer: what it is worth to heroes (xpWorth), when left out. 0 for nothing