Commit Graph

254 Commits

Author SHA1 Message Date
pyuk-bot
fff008b127
Make identical Ruin Abilities not stack (#9164) 2022-12-13 14:38:16 -05:00
Karthik
80dcc745a2
Send [eat] kwArg for Cud Chew (#9166) 2022-12-12 21:32:19 -06:00
pyuk-bot
381d4e7494
Tell the client how strong Supreme Overlord is (#9125) 2022-12-10 17:58:26 -05:00
pyuk-bot
89a8192e8e
Update Utility Umbrella mechanics (#9123) 2022-12-10 17:56:46 -05:00
pyuk-bot
e68346e702
Add an 'End' event for items (#9124) 2022-12-09 19:18:16 -06:00
Leonard Craft III
4f4854722f
Fix Commander vs Transform and Eject items (#9126) 2022-12-06 22:16:46 -06:00
Sergio
fb0222f5c1
Wait for damage to activate Gluttony after Neutralizing Gas end (#8984) 2022-12-05 20:33:16 -06:00
pyuk-bot
7a6a8441cc
Fix Protosynthesis/Quark Drive/Booster Energy (#9118) 2022-12-04 16:20:21 -05:00
Karthik
98544fe5f9
Fix Charge/Wind Abilities (#9113) 2022-12-04 12:53:18 -05:00
kittenchilly
30c41dcfbf
Fix Last Respects and Supreme Overlord (#9111) 2022-12-04 12:46:28 -05:00
Kris Johnson
f40244b731 Non-Terastallized Tera Blast is -ate boosted 2022-12-04 00:28:12 -07:00
Kris Johnson
6840c82e9b Supreme Overlord is a Base Power modifier 2022-12-03 17:26:25 -07:00
Kris Johnson
855236d922 Fix Toxic Debris ally hit interaction 2022-12-03 13:16:43 -07:00
Karthik
085c04515d
Costar should copy crit volatiles (#9114) 2022-12-02 23:50:46 -07:00
ACakeWearingAHat
cec874d43a
Ability ranking updates (#9116)
* Ability ranking updates

* oops
2022-12-02 23:48:50 -07:00
Karthik
33e9d4df32
Fix Mold Breaker not ignoring Well-Baked Body (#9107) 2022-12-01 21:41:46 -06:00
Kris Johnson
66394a5cd8 Tera Blast isn't -ate boosted 2022-12-01 17:30:55 -07:00
Karthik
f2b3d04127
Send proper client message for Good as Gold (#9092) 2022-11-29 20:57:16 -06:00
Karthik
08e1601d7e
Fix Protosynthesis/Quark Drive (#9082) 2022-11-29 13:28:33 -05:00
pyuk-bot
ba920c135d
Update Ability Shield with new research (#9081) 2022-11-29 13:27:39 -05:00
Karthik
1bd7052e77
Use FractionalPriority for Mycelium Might (#9073) 2022-11-26 22:26:42 -05:00
Marty
225ea55638 Fix more crashes with Opportunist/Mirror Herb 2022-11-26 10:49:55 -05:00
Marty
39d6fca334 Fix Opportunist/Mirror Herb 2022-11-25 19:06:41 -05:00
pyuk-bot
341d5146aa
Make Mirror Herb/Opportunist only ignore each other (#9065) 2022-11-25 17:15:13 -05:00
Karthik
ae3c611d87
Fix extra activation message on Seed Sower (#9061) 2022-11-25 17:14:24 -05:00
Karthik
3c862682be
Fix Moody stat drops being blocked by Clear Amulet (#9048) 2022-11-24 13:15:14 -06:00
Karthik
0acd8f7583
Don't reveal Supreme Overlord if no fainted allies (#9051) 2022-11-24 12:49:17 -06:00
Marty
ef0e332219 Correct Protosynthesis/Quark Drive 2022-11-21 11:44:31 -05:00
Karthik
625ebcf6b0
Use -copyboost for Costar (#9024) 2022-11-21 11:25:48 -05:00
Andrew Werner
cd89204e05 Protosynthesis/Quark Drive: Non-Speed stats only get boosted by 1.3 2022-11-21 11:05:10 -05:00
Karthik
a9b9f7820c
Fix various Ability related issues (#9020)
* Fix various Ability related issues

* Silently end Protosynthesis/Quark Drive
2022-11-20 12:17:26 -07:00
Kris Johnson
77a6eec4ef Supreme Overlord reveals itself on start 2022-11-19 23:12:23 -07:00
Kris Johnson
af4c940e02 Fix typo 2022-11-19 17:22:08 -07:00
Kris Johnson
b61eade844 Purifying Salt blocks Yawn 2022-11-19 17:20:39 -07:00
pyuk-bot
9f0f9d6672
Mirror Herb and Opportunist only copy move boosts (#9012) 2022-11-18 22:06:49 -05:00
Andrew Werner
b6ce1ae539 Protosynthesis/Quark Drive: End effects if Ability changes 2022-11-18 21:56:09 -05:00
Karthik
3edd0e0d6e
Fix Order Up (#9010) 2022-11-18 17:32:15 -05:00
pyuk-bot
19a0ace57b
Fix typos in comments about Dondozo (#9002) 2022-11-18 08:35:18 -05:00
Andrew Werner
47af64d1f4 Fix Commander not working with other Tatsugiri Formes 2022-11-17 23:45:51 -05:00
Karthik
a38d06476c
Add more ability activation text messages (#8999) 2022-11-17 21:13:49 -06:00
Kris Johnson
d50c8c249b
Add Gen 9 (#8997) 2022-11-17 20:46:29 -05:00
ACakeWearingAHat
fa943f4d7c
Random Battles bugfixes (#8971) 2022-11-06 13:46:06 -08:00
Sergio
a6dd79ba90
Fix Neutralizing Gas Primal weather interaction (#8930) 2022-10-15 13:55:17 -05:00
Karthik
9b01c1f4ab
Fix Defiant/Competitive announcing at +6 Atk/SpA (#8920) 2022-10-04 14:02:09 -05:00
Karthik
e4f510faaf
Fix Nightmare not getting removed after certain curing effects (#8791) 2022-07-14 16:01:06 -05:00
Leonard Craft III
d604bc7eb6 Fix Dark/Fairy Aura with Mold Breaker effects
Thanks Zaggyo and Anubis!
2022-07-13 20:01:05 -05:00
Karthik
4291ccb51b
Fix interaction between Future attacks and Protean (#8718) 2022-04-08 18:31:00 -05:00
urkerab
3e3f7f95ce
Fix some ability interactions with OMs (#8695) 2022-03-20 14:04:12 -04:00
Leonard Craft III
26ef4d3746
Fix interaction of Transformed Neutralizing Gas (#8576) 2021-12-20 07:54:41 -06:00
Leonard Craft III
380417856e Fix interaction of Dynamax Cannon and Parental Bond
Thanks Anubis!
2021-12-17 21:30:58 -06:00
tofa
21182025ce
Fix Ice Face's interaction with Neutralizing Gas (#8479) 2021-09-23 20:50:03 -05:00
pacmanboss256
23b35498f6
Rename the "mystery" and "authentic" move flags (#8445)
* mystery -> allyanim
* authentic -> bypasssub
2021-08-30 23:07:50 -07:00
pacmanboss256
f63ee3d3b7
Fix Water Shuriken interaction with Pokemon transformed into Ash-Greninja (#8444) 2021-08-23 21:43:57 -05:00
Marty-D
cd89eacfff
Fix Dry Skin behaviour when taking damage from allies 2021-07-31 09:58:51 -04:00
Guangcong Luo
b9affef2a4 Fix comment for Imposter 2021-07-03 15:19:54 -05:00
Leonard Craft III
d946308900
Fix the order of many end-turn resolution effects (#8307)
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
2021-05-17 11:53:52 -04:00
Leonard Craft III
50054ef5ae
Fix Struggle to be unaffected by Disable (#8315) 2021-05-17 07:18:26 -07:00
Leonard Craft III
ddd5d6ac15 Improve logic for multiple Neutralizing Gas check 2021-05-15 11:52:46 -05:00
Leonard Craft III
a2513173f3
Fix Neutralizing Gas ending if another is active (#8305) 2021-05-15 08:44:33 -07:00
pacmanboss256
4186ef5f4f
Refactor Mold Breaker effect (#8291) 2021-05-14 08:32:41 -04:00
Karthik
b6d5fff24b
Unfix interaction between Gluttony and Neutralizing Gas ending (#8273)
Reverts #8250, but will keep gluttony test file and add more tests to it. This is being done because indirect sources of damages are not causing gluttony to trigger (such as belly drum).
2021-05-05 13:44:59 -04:00
Marty-D
916c80b23d
Fix Mold Breaker interaction with Aura Break and Dark/Fairy Aura 2021-05-03 12:34:06 -04:00
Karthik
f453d37817
Fix interaction between Gluttony and Neutralizing Gas ending (#8250) 2021-05-03 11:25:47 -04:00
pacmanboss256
bb2d700883
Fix smart targeting with scripted moves (#8248) 2021-05-03 11:20:19 -04:00
Marty-D
a40f3388b6
Stop Ripen from reducing damage forever 2021-05-03 11:17:37 -04:00
Guangcong Luo
f9fdc73133
Support per-pokemon Residual handlers in Side/Field conditions (#8222)
For side conditions, `onStart`/`onRestart`/`onResidual`/`onEnd`
have been renamed `onSideStart`/`onSideRestart`/`onSideResidual`/`onSideEnd`,
with the `onResidualOrder` properties renamed `onSideResidualOrder`.

For field conditions, `onStart`/`onRestart`/`onResidual`/`onEnd`
have been renamed `onFieldStart`/`onFieldRestart`/`onFieldResidual`/`onFieldEnd`,
with the `onResidualOrder` properties renamed `onFieldResidualOrder`.

(The `onField` and `onSide` part helps make it clear to the type system
that the first argument is a Field or Side, not a Pokemon.)

Side and field conditions can now use `onResidual` to tick separately
on each pokemon in Speed order. `onResidualOrder` (the per-pokemon
tick) can be timed separate from `onSideResidualOrder` (the
per-condition tick), allowing conditions to end at a different priority
than they tick per-pokemon.

Relatedly, `onTeamPreview` and `onStart` in formats now need to be
`onFieldTeamPreview` and `onFieldStart`.

Unrelatedly, `effectData` has been renamed `effectState`, and the
corresponding state containers (`pokemon.statusData`,
`pokemon.speciesData`, `pokemon.itemData`, `pokemon.abilityData`,
`field.weatherData`, `field.terrainData`) have been similarly renamed. I
renamed the types a while ago, but I was holding off renaming the fields
because it would be a breaking change. But this is a breaking change
anyway, so we might as well do it now.

Note: `onResidual` will tick even on `onSideEnd` turns, although
`onSideResidual` won't. When refactoring weather, remember to
check `this.state.duration` so you don't deal weather damage on the
ending turn.

Intended as a better fix for #8216
2021-04-25 10:55:54 -07:00
pyuk-bot
66c547432b
Fix Parental Bond to modify damage, not base power (#8226) 2021-04-25 12:06:27 -04:00
pyuk-bot
3639079d1f
Protective Pads should not apply to Gulp Missile (#8207)
Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
2021-04-19 12:39:33 -04:00
Karthik
adb164ad51
Fix Magician activation timing (#8202)
Use onAfterMoveSecondarySelf so Weakness Policy happens first
Fixes #8104
2021-04-17 12:26:29 -04:00
ACakeWearingAHat
5493420d9c
Random Battles Improvements (#8192) 2021-04-10 17:46:41 -07:00
Guangcong Luo
13189fdb02
Update Dex API (#8181)
This is the change that renames:

- `Dex.getMove` -> `Dex.moves.get`
- `Dex.getAbility` -> `Dex.abilities.get`
- `Dex.getItem` -> `Dex.items.get`
- `Dex.getSpecies` -> `Dex.species.get`
- `Dex.getEffect` -> `Dex.conditions.get`
- `Dex.getNature` -> `Dex.natures.get`
- `Dex.getType` -> `Dex.types.get`
- `Dex.getFormat` -> `Dex.formats.get`

In addition, some other APIs have been updated:

- `getByID` methods have also been added to every other table.
- `Dex.moves.all()` now gets an array of all moves
  - Plus equivalent methods for `abilities`, `items`, `species`, `formats`, `natures`, `types`
  - Note: there's no `Dex.conditions.all()`
- new API: `Dex.stats` for naming/iterating stats
- `Dex.getEffectByID` -> `Dex.conditions.getByID`
- `Dex.getType` -> `Dex.types.get`
- `Dex.data.Formats` -> `Dex.data.Rulesets`
- `Dex.formats` -> now an array `Dex.formats.all()`
- `Dex.getRuleTable` -> `Dex.formats.getRuleTable`
- `Dex.validateFormat` -> `Dex.formats.validate`

Team functions have been split off into a new `sim/teams` package:

- `Dex.packTeam` -> `Teams.pack`
- `Dex.fastUnpackTeam` -> `Teams.unpack`
- `Dex.generateTeam` -> `Teams.generate`
- `Dex.stringifyTeam` -> `Teams.export`

`Teams.export` has also been rewritten to better match how it works in client.

This implements #8178
2021-04-08 03:00:37 -07:00
Karthik
3b1d3844dd
Negate Unburden while Neutralizing Gas is active (#8182) 2021-04-06 12:13:05 -04:00
Guangcong Luo
77d231eee5 Fix Disguise vs Steelsurge 2021-04-03 18:30:19 -07:00
urkerab
d4e6fb227c
Fix Aromatherapy failing if the right slot has a Substitute (#8151) 2021-04-02 17:35:04 -04:00
Karthik
19ae4f693f
Check for Berserk before eating Berries (#8147) 2021-04-02 17:30:34 -04:00
Guangcong Luo
3b5e8cbfc2
Refactor for multi battles (#8152) 2021-03-31 20:27:07 -07:00
Karthik
258269348c
Allow Berries to be used between Unnerve switching to Unnerve (#8145) 2021-03-31 10:07:36 -04:00
Guangcong Luo
d18c0a4e1f Refactor more things to use pokemon.allies/foes
(This will make multi battles easier to implement.)
2021-03-28 20:06:18 -07:00
Guangcong Luo
ed454ef76a
Refactor scripts to battle-actions (#8138)
This introduces a new class, BattleActions, available as `battle.actions`,
moving all functions from `data/scripts.ts` to `sim/battle-actions.ts`.

This makes it so that "go to definition" will now work correctly for
functions previously in scripts; we no longer need UnimplementedError,
and there's now a clean conceptual separation between `battle` and
`battle-actions` (whereas the previous distinction between `battle` and
`scripts` was basically nonexistent).

This will be a difficult migration if you maintain a fork with custom
scripted mods. I'm sorry! Migration instructions are here:

https://github.com/smogon/pokemon-showdown/pull/8138
2021-03-28 12:01:38 -07:00
Leonard Craft III
b707a4ad97 Correct Shed Skin odds 2021-03-27 22:44:28 -05:00
Annika
c2e97aaaed
Use optional chaining in more places (#8063) 2021-02-22 11:42:05 -08:00
pyuk-bot
747db93931
Fix Gulp Missile against inactive Pokemon (#8053) 2021-02-18 17:51:18 -05:00
Leonard Craft III
220cac3aa7
Convert modifiers from hex to decimal (#8003) 2021-02-10 17:02:18 -05:00
Kris Johnson
f101bb7575
Fix Aerilate and Parental Bond's index numbers (#7998) 2021-02-06 16:37:18 +04:00
The Immortal
9d68fc283a Fix Gulp Missile interaction with selfdestruct moves 2021-02-01 00:12:38 +04:00
urkerab
f0d3c85148
Fix Soundproof blocking self sound moves in Gen 8 (#7917) 2021-01-15 20:05:32 -06:00
urkerab
7bf3c9afd1
Cursed Body ignores Max Moves (#7891) 2021-01-08 16:21:00 -08:00
Marty-D
5c6cc7d256
Merge pull request #7879 from urkerab/various-mechanics-fixes
Various mechanics fixes
2021-01-06 15:20:55 -05:00
Leonard Craft III
6003cb0835
Fix Intimidate failure text (#7880) 2021-01-06 14:05:12 +04:00
Leonard Craft III
ddbed0dc81
Add Neutralizing Gas switchout message (#7484) 2021-01-06 14:04:06 +04:00
urkerab
80d652d59b Sturdy should trigger before Focus Sash but after False Swipe 2021-01-05 16:58:03 +00:00
The Immortal
d8a90a94f9 Protective Pads should negate Perish Body
Thanks @DaWoblefet!
2021-01-03 16:35:55 +04:00
urkerab
fa78e2a31c
Make Unnerve activate after Skill Swap and Neutralizing Gas wearing off (#7866) 2021-01-02 14:39:54 -05:00
Adam Tran
0f724acb03
Fix Neutralizing Gas ending issues (#7860) 2021-01-01 18:39:19 -05:00
urkerab
74ae95a91c
Update accuracy calculation for latest Gen 7 research (#7806) 2020-12-15 18:37:24 -05:00
Marty-D
b95adb3ae4
Fix Frisk and Neutralizing Gas interaction
Thanks, Zelda!
2020-12-07 16:53:41 -05:00
urkerab
6daa05781b
Protean should affect the victim of Snatch rather than the user (#7768) 2020-12-07 09:43:55 +04:00
MacChaeger
8f6576e59a
Don't activate Flower Gift/Ice Face when KOed (#7733) 2020-11-26 15:36:59 -05:00
The Immortal
98d1fa763e Move Stance Change activation earlier 2020-11-26 16:16:28 +04:00
The Immortal
006fd097f0 Fix Stance Change mechanics 2020-11-26 13:47:27 +04:00
aviettran
f66569a242
Fix Symbiosis interaction with Eject Button (#7718) 2020-11-24 11:14:05 -05:00
The Immortal
9d1d435da7 Fix Air Lock / Cloud Nine activation 2020-11-23 02:08:55 +04:00
Marty-D
ad70206599
Update Parental Bond excluded moves 2020-11-21 14:15:14 -05:00
urkerab
ec8cd25d59
Properly update Diamond Storm boosts for Gen 7 (#7638) 2020-11-12 10:27:18 -05:00
urkerab
808e5bb3c4
Restore As One boost activation (#7650) 2020-11-06 03:53:36 +04:00
Leonard Craft III
920af21aac
Abilities: Add isPermanent flag (#7614) 2020-11-03 10:31:11 -05:00
The Immortal
42f491a092 Fix Ripen 2020-10-30 14:03:35 +04:00
The Immortal
1a0e56a3ac Fix Neutralizing Gas interactions 2020-10-29 04:35:12 +04:00
Kris Johnson
b1e2331c7b
Fix Slow Start's interaction with Neutralizing Gas (#7580) 2020-10-28 12:51:33 -07:00
The Immortal
f565659fd3 Random Battle updates 2020-10-26 20:12:55 +04:00
urkerab
83d1556fa6
Ignore As One boosts when already maxed out (#7574) 2020-10-26 05:56:55 +04:00
Marty-D
56fe32b14b
Prevent Abilities from copying As One as well 2020-10-24 18:22:08 -04:00
Marty-D
f5b0b6dc2c
Add As One entry message 2020-10-23 19:56:24 -04:00
The Immortal
498e38502a Implement As One correctly 2020-10-23 21:10:18 +04:00
The Immortal
e9c62cb86d Prevent As One from being copied or removed 2020-10-23 18:01:51 +04:00
Kris Johnson
879570dc43 Fix As One attribution text 2020-10-23 03:45:13 -06:00
Kris Johnson
2f0dc16cf6
Add activation messages for Curious Medicine
credits marty
2020-10-22 22:04:08 -06:00
The Immortal
1754b7dc2f Add Crown Tundra Pokemon
TODO: Learnsets
2020-10-23 06:40:50 +04:00
Marty-D
131aa64a5e
Fix Gulp Missile's interaction with Disguise 2020-10-14 11:43:10 -04:00
The Immortal
f01a965570 Random Battle improvements 2020-10-05 04:27:57 +04:00
urkerab
5d714fbb56
Replace @ts-ignore with type assertions or other less unsafe constructs (#7390) 2020-09-19 02:07:48 -07:00
Guangcong Luo
ea8f52ce97
Move descriptions to data/text/ files (#7036)
This adds some new `data/text/` files, which are the new home for
item/move/ability descriptions, as well as in-game messages, in one
place for ease of translation.
2020-09-06 22:00:11 -07:00
Kris Johnson
8656d633ac
Format volatiles consistently (#7314) 2020-09-05 08:12:24 -07:00
The Immortal
ca983630c1 Add Ripen activation for berries 2020-08-03 20:11:47 +04:00
The Immortal
4d0dd49a11 Leftovers activates Ripen 2020-08-03 18:29:18 +04:00
The Immortal
1360f7d06d Random Battle updates 2020-08-01 17:31:16 +04:00
Guangcong Luo
4d09f7acde Rename more instances of Effect to Condition 2020-07-26 11:26:23 -07:00
Guangcong Luo
2f805c93a2
Remove "Battle" prefix from data exports (#7039)
`BattlePokedex` is now `Pokedex`, `BattleItems` is now `Items`, etc.

I also renamed `Movedex` to `Moves` and `Statuses` to `Conditions`.

`TypeChart` isn't `Types` yet, because unlike the others, it's not
indexed by ID. That should probably be fixed one day.
2020-07-24 12:42:26 -07:00
Marty-D
10e4ecdc84 Clean up event priorities 2020-07-21 10:43:12 -04:00
Marty-D
654d701e4c Update accuracy modifier chaining
Based on an understanding of Gen 4's system. Possibly not fully correct, but certainly less incorrect!
2020-07-20 15:00:54 -04:00
PartMan
356c06593b
Update Damp (#7025) 2020-07-20 09:58:49 -04:00
urkerab
97d4d973bb
Adjust fractional priority for very latest research (#6931) 2020-06-30 07:51:01 -07:00
urkerab
17e4cb49a4
Adjust fractional priority for latest research (#6928) 2020-06-29 12:09:10 -07:00
The Immortal
36cac2339a Random Battle updates 2020-06-29 00:05:46 +04:00
Marty-D
910bdaf1e2
Update Quick Draw 2020-06-25 10:53:51 -04:00
Kris Johnson
caf3c1045d
Fix Terrain Pulse and Expanding Force (#6884) 2020-06-20 11:53:03 +04:00
The Immortal
58206586e5 Random Battle updates 2020-06-19 18:00:51 +04:00
The Immortal
6ef15d4a9b Fix Adrenaline Orb 2020-06-19 16:52:56 +04:00
Kris Johnson
813a84349e
Fix Quick Draw (#6872) 2020-06-18 18:20:52 -04:00
Kris Johnson
774c9bae34
Isle of Armor: Abilities (#6840) 2020-06-17 22:05:55 +04:00
The Immortal
98e9bd2f8e Add new data for Slowpoke lines 2020-06-17 19:21:35 +04:00
urkerab
fc6e4b82ae
Disguise breaking prevents critical hits (#6766) 2020-05-29 18:57:39 -07:00
Leonard Craft III
c263038197
Fix Trace's interaction with Neutralizing Gas (#6712) 2020-05-18 09:19:11 -07:00
Marty-D
1b62902b5c
Fix Mirror Armor interaction with minimum stat stages
+1 DaWoblefet
2020-05-15 09:21:46 -04:00
Kirk Scheibelhut
7d5975b8c7 Correct Lightning Rod's number 2020-05-13 21:26:09 -07:00
Kirk Scheibelhut
2af7040270
Group zMove and maxMove attributes (#6652)
This mostly serves to provide cleaner and more consistent field
naming. maxMove currently doesn't have boosts or effects to group
together but who knows what will be thrown at us via DLC, and being
symmetrical with zMoves is a nice.
2020-05-04 20:21:27 -07:00
Guangcong Luo
5aa5f53089 Fix Shields Down for cosmetic formes 2020-05-01 23:30:04 -07:00
Guangcong Luo
e0f6453b60 Refactor data definitions
- `Modded[Effect]Data` are now correctly defined: they must either have
  `inherit: true` and be partial, or not have `inherit: true` and be a
	complete `[Effect]Data` entry

- `id` is no longer allowed; instead, it's calculated directly from
  `toID(name)`. The one exception, Hidden Power, gets a `realMove`
	property to track this (it's still used to set `.id`, though;
	TODO: really fix it properly).

- `num` is still required in `data/pokedex.ts` (dex number),
  `data/moves.ts` (move index number, for Metronome), and
	`data/items.ts` (minisprite sprite-sheet location). It's still not
	required for mod-only items and moves.

- `num` is no longer allowed for PureEffects (in `statuses.ts`) where
  it's always been meaningless.

- `color` and `heightm`, being completely flavor, are still not
  required for `pokedex.ts` in mods. They're still required in the base
	pokedex.
2020-04-30 21:39:29 -07:00
Guangcong Luo
800d8bd8f3 Remove Dex.getForme etc
The server now uses the same approach as the client of treating
cosmetic formes as real formes, as documented in `FORMES.md`.

This eliminates the need for the `.forme` and `.speciesid` properties
of `Pokemon`.

`pokemon.id` has also been removed: useful, since it turns out half
of its uses were bugs that should have used `pokemon.species.id`.
2020-04-28 17:38:54 -07:00
urkerab
1ede5508aa
Moxie and Beast Boost should have one combined boost for all fainted Pokémon. (#6557)
In addition, they should not activate for a spread move that ends the game.
(This contrasts with Soul-Heart, which will activate until the last target.)
2020-04-27 15:44:33 -07:00