The general formula for each of the six (base) stats:
Stat = ((2 x BaseStat + IV + (EV/4)) x Level / 100)
Sometimes a constant is added to this Stat, but varies from game to game
Note: adjust above accordingly (for instance, can consider less weight on Level)
The battle logic is simply whoever has the higher sum of base stats. Link to specific improvements in separate issues below: "Real" logic with (base) stats: https://github.com/LAMaglan/PokeFightSimulator/issues/29 (DONE) Types: https://github.com/LAMaglan/PokeFightSimulator/issues/9 (DONE) Modify stats based on level: https://github.com/LAMaglan/PokeFightSimulator/issues/10 - DONE Modify stats based on IV (individual values): https://github.com/LAMaglan/PokeFightSimulator/issues/35 - DONE Modify stats based on EV (effort values): https://github.com/LAMaglan/PokeFightSimulator/issues/36 - DONE Use special attack and defense: https://github.com/LAMaglan/PokeFightSimulator/issues/43 - DONE (but revise over time)
The general formula for each of the six (base) stats:
Stat = ((2 x BaseStat + IV + (EV/4)) x Level / 100)
Sometimes a constant is added to thisStat
, but varies from game to game Note: adjust above accordingly (for instance, can consider less weight on Level)Moveset (for much later): https://github.com/LAMaglan/PokeFightSimulator/issues/11