mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-15 12:52:20 +02:00
New description for getStat()
This commit is contained in:
parent
9f4aa49289
commit
f77d860265
@ -545,9 +545,9 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the value of the specified stat. Depending on whether the pokemon has been summoned or not, it may use the base stats or the current stats.
|
* Returns the value of the specified stat.
|
||||||
* @param {Stat} stat Stat to get the value of.
|
* @param {Stat} stat Stat to get the value of. {@link Stat}
|
||||||
* @returns {integer} Returns the value of the stat. If the pokemon is already summoned, it uses those values, otherwise uses the base stats.
|
* @returns The value of the stat. If the pokemon is already summoned, it uses those values, otherwise uses the base stats. {@link integer}
|
||||||
*/
|
*/
|
||||||
getStat(stat: Stat): integer {
|
getStat(stat: Stat): integer {
|
||||||
if (!this.summonData) {
|
if (!this.summonData) {
|
||||||
|
Loading…
Reference in New Issue
Block a user