compute_stat: Function that calculate a given stat of a pokemon based on...

View source: R/pokeFightModule.R

compute_statR Documentation

Function that calculate a given stat of a pokemon based on its level.

Description

Function that calculate a given stat of a pokemon based on its level.

Usage

compute_stat(level, base_stat)

Arguments

level

Current pokemon level.

base_stat

Stat to be scaled.

Note

To be used in generate_pokemons.


DivadNojnarg/shinyMons documentation built on Feb. 1, 2025, 3:24 p.m.