Kris Johnson
ea1b028950
Rename cosmeticFormeName to forme ( #6492 )
2020-03-26 18:13:31 +04:00
Kris Johnson
994fc60aed
Rename Template to Species ( #6478 )
2020-03-25 23:29:27 -07:00
Marty-D
0eb0c47eea
Revert Cramorant's forme when Dynamaxing
2020-03-19 13:33:48 -04:00
Marty-D
795ce777ec
Remove Torment volatile when Dynamaxing
2020-02-23 17:45:16 -05:00
Guangcong Luo
14cdc79a8e
Fix Dynamax Toxic damage
2020-02-17 11:57:59 -08:00
The Immortal
55a4678ffd
Correct Dynamax HP formula
2020-02-01 21:31:11 +04:00
urkerab
f5718b7ab0
Make Dynamax and Inner Focus prevent setting the Flinch volatile ( #6287 )
2020-01-16 20:08:55 -05:00
The Immortal
0199e9a952
Modify damage for Dynamax Cannon
2019-12-27 00:22:25 +04:00
The Immortal
1fbd92f925
Behemoth moves modify damage
...
Not BP.
2019-12-26 22:52:08 +04:00
The Immortal
dfcddf8351
Dynamax ends Illusion
2019-12-21 23:58:22 +04:00
The Immortal
85d8aefaaf
Eternatus can't Dynamax
...
This effect (incorrectly) affects hacked Eternatus-Eternamax and is unneeded as Eternatus is unable to Dynamax into Eternamax.
2019-12-21 22:37:10 +04:00
urkerab
1c102b12d0
Gigantamax forme change is client-only ( #6181 )
2019-12-13 19:21:37 +09:00
Kris Johnson
cb83dda418
Update Utility Umbrella ( #6127 )
2019-12-13 00:30:57 +09:00
The Immortal
23b692e0b3
Fix Dynamax messages
2019-12-09 23:53:04 +04:00
Kris Johnson
82dbf537e7
Make G-Max Centiferno/Sandblast mechanics more accurate ( #6167 )
2019-12-09 16:28:10 +04:00
Zachary Perlmutter
1e8551a71a
Fix Eternatus-Eternamax ( #6154 )
...
* Fix bug caused by #6149
2019-12-06 14:10:10 +04:00
Zachary Perlmutter
6621444190
Prevent Eternamax Max HP Doubling ( #6149 )
2019-12-05 18:06:52 +04:00
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
The Immortal
4f95f7adb7
Update Arceus/Silvally mechanics
...
Relevant to Hackmons, mostly.
2019-12-03 00:41:46 +04:00
YaBoiJD
546065a10d
Update National Dex Mechanics ( #6108 )
...
Pokemon that are holding an Item that enables Mega Evolution, Primal Revision, or the use of a Z-Move cannot Dynamax. A Rayquaza that can Mega Evolve also cannot Dynamax.
Also fixes an alias loop with the national dex format/ruleset.
2019-11-30 14:50:09 -05:00
Kris Johnson
1fe47eabdd
Add Utility Umbrella ( #6120 )
2019-12-01 01:24:25 +13:00
Spandan Punwatkar
0e8ee00acb
Add Eternamax forme for Eternatus ( #6081 )
2019-11-28 12:24:47 -05:00
Guangcong Luo
c04898eab1
Remove Substitute upon Dynamaxing
...
Fixes #6089
2019-11-27 17:15:42 +13:00
Kris Johnson
413b28b36f
Fix lockedmove volatile interaction with Max moves ( #6050 )
2019-11-23 22:37:07 +04:00
The Immortal
ebd501bb04
Update Dynamax messages
2019-11-21 18:01:32 +04:00
Guangcong Luo
86467ce1bd
Fix Octolock
...
Fixes #5968
2019-11-20 19:53:29 +13:00
Guangcong Luo
09412bb570
Dynamaxed Pokemon can't be forced out
...
Fixes #6007
2019-11-20 11:31:27 +13:00
The Immortal
ed3a6e73aa
Dynamax: Add hint on switch out
...
Dynamax has no actual text in Wi-Fi battles. I left the Start/End messages for now and just added a hint on Switch.
2019-11-17 19:09:27 +04:00
Guangcong Luo
5bedfe1905
Fix Gorilla Tactics
...
I'm not sure this is how it works, but it at least shouldn't make
dynamax moves auto-fail.
2019-11-17 13:44:22 +13:00
Guangcong Luo
e27233307f
Display Dynamax as a volatile status
2019-11-17 06:32:20 +13:00
HoeenHero
6253a77d3f
Use level 10 dynamax power for HP changes
2019-11-16 10:02:12 -05:00
HoeenHero
34649c12ae
Trigger dynamax switch out events sooner
2019-11-16 09:00:03 -05:00
HoeenHero
f28921d2d2
Do not go under 0 HP when dynamax ends
2019-11-16 08:48:17 -05:00
HoeenHero
a9f0f752d3
Fix choice lock - dynamax interaction
2019-11-16 08:44:31 -05:00
HoeenHero
1f324ce065
Dynamax should bypass choice lock
...
While a pokemon is dynamaxed, they can use any of
their moves. Once it ends, they are locked back in
to the move they were originally locked into.
2019-11-15 23:09:18 -05:00
HoeenHero
8f1e5c917e
Fix Shedinja's HP when dynamaxing
2019-11-15 23:03:20 -05:00
HoeenHero
e9a686e9e0
Comment out unsupported protocal, add placeholder
2019-11-15 22:49:44 -05:00
HoeenHero
e6a900702d
Fix dynamax onSwitchOut
2019-11-15 22:17:59 -05:00
HoeenHero
9ecbcabee9
Dynamaxing ( #5946 )
2019-11-15 21:33:10 -05:00
Guangcong Luo
7a023746ba
Refactor battle.dex out of battle ( #5851 )
...
In most other similar systems, like TeamValidator, we use `thing.dex` instead of having it extend `ModdedDex`. Battle has always extended `ModdedDex`, though. This changes Battle to match the others.
This should fix an issue with `Battle.data` not being cached.
This also frees up Battle to extend ObjectReadWriteStream<string> in a future update.
2019-10-06 07:38:08 +11:00
Marty-D
1671fe4e15
Fix Doom Desire/Future Sight on hit
2019-06-11 10:57:29 -04:00
Kirk Scheibelhut
be82a3b817
Move -mustrecharge message to onStart ( #5488 )
...
This way it doesn't show up at the end of the turn or get added 3 separate times.
Fixes #5462 .
2019-05-08 16:39:56 -04:00
Kirk Scheibelhut
29430984f6
Only add the '-status slp' message in statuses ( #5486 )
2019-05-08 11:52:44 -04:00
MacChaeger
d3f1161b62
Fix Weakness Policy and Clangorous Soulblaze in doubles ( #5389 )
2019-04-04 18:51:27 +08:00
Slayer95
628f32e8fb
Stricter type definitions for dex data ( #5375 )
...
BattleStatuses switched to PureEffectData
2019-03-30 22:31:04 +08:00
MacChaeger
9a7ce3dedf
Put side conditions on p1 and p2 in multi battles ( #5341 )
2019-03-27 11:00:36 +08:00
Kirk Scheibelhut
9f5a727ad1
Pull Field out of Battle ( #5333 )
2019-03-23 02:52:12 +09:00
Kirk Scheibelhut
4be90a0a28
Cleanup sim/battle.ts ( #5325 )
2019-03-22 01:25:12 +09:00
Marty-D
39a8b4270e
Fix Stealth Rock effectiveness during Delta Stream
2019-03-16 14:38:03 -04:00
Kirk Scheibelhut
a04d4da992
Add more hints to Gen 1 & 4, migrate others to Battle#hint ( #5258 )
2019-03-06 11:24:47 -06:00