pokemon-showdown/data/mods/gen6
Guangcong Luo 9b943fb62f Fix Dynamax stat handling
We now track `baseMaxhp`, the pre-Dynamax max HP. We also have a new
function `getUndynamaxedHP` for use by moves that use it (famously,
Endeavor).

- `baseStoredStats` is unused outside of the mouseover stats display.
  I updated its implementation to reflect this.

- Power Construct doesn't have a defined behavior during Dynamax. I
  ended up implementing an approximation of what it should probably do.

- Endeavor, Pain Split, Super Fang, and Nature's Madness now work on
  undynamaxed HP.

- Moves that deal or heal percentage damage now do it based on
  undynamaxed max HP, other than G-Max Finale.

Fixes #6131

Fixes #6087
2019-12-04 09:25:46 +09:00
..
abilities.js Fix Dynamax stat handling 2019-12-04 09:25:46 +09:00
factory-sets.json Move server code to server/ 2019-02-03 16:07:06 -06:00
formats-data.js Clean up data 2019-11-15 15:40:08 +04:00
items.js Fix Dynamax stat handling 2019-12-04 09:25:46 +09:00
moves.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
pokedex.js Clean up data 2019-11-15 15:40:08 +04:00
random-teams.js Random Battle improvements 2019-11-27 01:57:43 +04:00
scripts.js Fix remaining build errors 2019-11-16 06:08:48 +13:00
statuses.js Fix Dynamax stat handling 2019-12-04 09:25:46 +09:00
typechart.js Move server code to server/ 2019-02-03 16:07:06 -06:00