LAMaglan / PokeFightSimulator

A (simple) fight simulator between any two Pokemon using FastAPI with Jinja frontend
0 stars 0 forks source link

Updated stats as own attributes #62

Closed LAMaglan closed 3 months ago

LAMaglan commented 3 months ago

Address: https://github.com/LAMaglan/PokeFightSimulator/issues/54 Although likely impacts memory (slightly), and the code is longer, can now pass on "base_stats" of each stat without worrying that it is overwritten (currently, not a problem, because /battle and /pokemon_stats endpoints operate separately).