LAMaglan / PokeFightSimulator

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

Pokemon class attributes for modified stats? #54

Closed LAMaglan closed 5 months ago

LAMaglan commented 5 months ago

Maybe better to have separate attributes that take the result of stat_modifier.

Could for instance initialize to zero attack_real = 0

Or alternatively attack_real = attack["base_stats"]

Would have to refactor code across all files. Quite a bit of refactoring actually, especially for the method that will update the stats.