ChampionStat class
A representation of the champion's base stats.
Signature:
export declare class ChampionStat
Constructor
new ChampionStat (base: number, increment: number)
Constructs a new instance of the ChampionStat
class.
Parameters:
Parameter | Type | Description |
---|---|---|
base | Number | The base value of the stat. |
increment | Number | The value at which this stat increases every level. |
Properties
base
The base value of the stat - the value at level 1.
Type: Number
increment
The value at which this stat increases every level (the scaling).
Type: Number
Methods
.at ()
A utility to calculate the base value of this stat at a certain level.
Signature:
at(level: number): number;
Parameters:
Parameter | Type | Description |
---|---|---|
level | Number | The level at which the base value of this stat is needed. |
Return type: Number
Table of Contents