pokemon-showdown/data/mods/gen3
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
formats-data.js Gen 3 Random Battle: Improve Movesets (#5787) 2019-09-17 17:49:39 +04:00
items.js Require object literal method shorthand 2019-02-11 18:14:09 -06:00
moves.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
random-teams.js Random Battle improvements 2019-11-27 01:57:43 +04:00
rulesets.js New validator (#5840) 2019-10-06 04:21:30 +11:00
scripts.js Add a single event for a move's own immunity to a specific target (#5904) 2019-10-24 11:00:28 +10:30
statuses.js Only add the '-status slp' message in statuses (#5486) 2019-05-08 11:52:44 -04:00