pokemon-showdown/data/mods/ssb
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
items.js Introduce item.itemUser 2019-11-25 15:26:36 +13:00
moves.js Fix Dynamax stat handling 2019-12-04 09:25:46 +09:00
pokedex.js Super Staff Bros Brawl Update (#5764) 2019-09-22 14:47:33 -04:00
random-teams.js SSB: Namechange Akasianse to Felucia, promote Aeonic (#5932) 2019-11-05 13:27:15 -05:00
scripts.js Fix Dynamax stat handling 2019-12-04 09:25:46 +09:00
statuses.js Fix Dynamax stat handling 2019-12-04 09:25:46 +09:00