Commit Graph

6054 Commits

Author SHA1 Message Date
Guangcong Luo
55cbc52bba Fix bugs with secondary/ability order
Fixes #6346

The `AfterDamage` event has been replaced with `DamagingHit`, which
which happens for damaging moves after secondaries.

The `AfterHit` event has also been moved after `DamagingHit`, to make
sure Knock Off still procs after Rocky Helmet.

`AfterHit` is no longer a valid event on `secondary` and `self` blocks,
because it's meaningless in those blocks, anyway. All `self.onAfterHit`
and `secondary.onAfterHit` handlers have been moved to `onHit`, which
should have the same timing in practice.
2020-02-08 08:07:39 -08:00
Guangcong Luo
0eae50191b Improve Wide Guard description 2020-02-08 07:44:10 -08:00
Volco
dab2d21e3f
Fix Kee Berry activating due to Present healing (#5745) 2020-02-08 05:51:56 +04:00
Salaaa
66e46b8421
SSB: Prevent salamander's ability from crashing in edge cases (#6344) 2020-02-07 20:14:27 -05:00
The Immortal
e67a55d7ad Macho Brace is available in Sw/Sh 2020-02-07 14:21:36 +04:00
Kris Johnson
8aa26d39b0
Fix Psychic Terrain crash (#6348) 2020-02-07 04:12:26 +04:00
The Immortal
15fe9f27e9 Random Battle: Improve Inteleon 2020-02-07 03:55:58 +04:00
Kris Johnson
9f08d93244
Toxtricity-Low-Key can Gigantamax (#6343) 2020-02-07 03:54:07 +04:00
Guangcong Luo
b30758a3e1 Standardize Alcremie forms
We're now using what should be the official names for the Alcremie
cosmetic forms.
2020-02-06 04:09:55 -08:00
DeltaCoderr
d4779cc558
Update Ranks in SSB (#6345)
* Update  Ranks in SSB

* Update Schiavetto's  SSB Rank.
2020-02-06 15:29:55 +04:00
The Immortal
da7507f806 Gen 5 Random: Don't reject Inner Focus 2020-02-06 01:05:45 +04:00
The Immortal
45b5a22985 Gen 2 randoms: Delete invalid set 2020-02-05 23:58:30 +04:00
Kris Johnson
9f27583ff1
Release Gigantamax Toxtricity (#6341) 2020-02-05 10:57:13 -08:00
Kris Johnson
4ef357cc92
Add aliases for Heavy-Duty Boots, Obstagoon, and Mr. Rime (#6340) 2020-02-05 10:57:01 -08:00
Salaaa
3b59e44b52
SSB: Fix Lava Terrain damage boost (#6332) 2020-02-06 01:01:25 +10:30
Guangcong Luo
3255d287b8 Add hint for Psychic Terrain flying interaction
This is by far the most commonly reported "bug" on Twitter, so it's
probably worth adding a hint for.
2020-02-05 05:14:34 -08:00
Ezaphs
d10e93809b
Ban Mega Gengar from LGPE OU (#6333)
https://www.smogon.com/forums/threads/lgpe-ou-spectre-mega-gengar-is-now-banned.3658931/#post-8357495
2020-02-03 17:12:36 -08:00
Kris Johnson
d3e266cddd
Fix crash with TRs (#6330) 2020-02-03 00:25:49 -08:00
Kris Johnson
05efe2e011
Add TRs (#6317) 2020-02-02 23:19:45 -08:00
Marty-D
8d644fcb0c Calculate Innards Out damage using non-Dynamax HP 2020-02-02 18:04:33 -05:00
The Immortal
3278f97576 Show Crowned formes in Team Preview
They are immediately visible after Team Preview in-game, but PS! lacks that feature so this is the best compromise. This also fixes their appearance in Hackmons Team Preview.
2020-02-03 01:05:38 +04:00
Marty-D
47c8d6b52b Fix Pickpocket interaction with switches
U-turn is the only switch effect that occurs after Pickpocket resolves during an attack segment (even though the switch message and animation appear to happen before it)
2020-02-02 15:02:41 -05:00
The Immortal
9b07458ee9 Fix Last Resort
And the message activation of No Retreat which was broken in a79c094df.
2020-02-02 23:51:15 +04:00
The Immortal
a79c094df3 Update No Retreat mechanics 2020-02-02 23:18:52 +04:00
The Immortal
d9327d945a Simplify max moves check in Copycat 2020-02-02 22:30:04 +04:00
Marty-D
9e443cc337
Fix Copycat against non-Dynamax Max Moves 2020-02-02 13:05:51 -05:00
The Immortal
6db191a0a8 Implement Copycat interaction with Max moves 2020-02-02 21:29:55 +04:00
The Immortal
89e79a6e81 Fix randoms crash 2020-02-02 17:01:30 +04:00
Kris Johnson
e81fab513a
Fix Butterfree-Gmax's doubles tier (#6328) 2020-02-02 14:51:45 +04:00
James Ko
1596429c2e
Correctly set hp and maxhp fields if Zygarde transforms while Dynamaxed (#6318) 2020-02-01 22:06:08 -08:00
QuiteQuiet
211cefb262
Fix Healing Wish for Gen 8 (#6296)
- Healing Wish is not consumed if the Pokemon switching in
  has full health and no status condition.
- Being statused with full health will consume the Healing Wish.
- It does not trigger on damage after switching in.
- The effect will be consumed if an injured Pokemon is swapped
  into a slot with an active Healing Wish by Ally Switch.
2020-02-01 22:04:21 -08:00
Kris Johnson
770e761e22
Add (DUU) and fix Gurdurr's doubles tier (#6327) 2020-02-02 05:48:51 +04:00
The Immortal
a65f91114f Random Battle: Improve Greedent 2020-02-02 00:04:19 +04:00
The Immortal
778aff1ea0 Correct No Retreat mechanics 2020-02-01 23:43:28 +04:00
The Immortal
6c88ebc9ac Fix Challenge/Hackmons Cup 2020-02-01 23:05:27 +04:00
The Immortal
55a4678ffd Correct Dynamax HP formula 2020-02-01 21:31:11 +04:00
The Immortal
a7a82a2ddd February tier shift 2020-02-01 20:55:00 +04:00
The Immortal
cddb3ea151 Remove gen 7 ladders 2020-02-01 15:45:46 +04:00
Kris Johnson
4c5640d051
Add February 2020 OMotM and RoA Spotlight (#6323) 2020-02-01 15:10:59 +04:00
The Immortal
4bc7a8dedb Fix Clangorous Soul
Closes #6321
2020-01-31 16:36:20 +04:00
The Immortal
49be40c33e Safeguard is also affected by Court Change 2020-01-31 15:02:37 +04:00
The Immortal
7c3f9f47a2 Update Court Change effects 2020-01-31 14:00:10 +04:00
The Immortal
5e69597b93 Improve Court Change shortDesc 2020-01-30 13:11:05 +04:00
The Immortal
c34b41661c Venusaur/Blastoise learn Frenzy Plant/Hydro Cannon in Sw/Sh 2020-01-29 19:52:01 +04:00
The Immortal
68e0bcb75f Refactor single-use items
This adds a `boosts` property to items that runs in `useItem`.
This allows it to be added to `datasearch` or similar plugins.
The item activation messages are now as accurate as in-game.
The Gem activation message is also consolidated in `useItem`.
2020-01-28 13:21:23 +04:00
Guangcong Luo
0e9e68db71 Fix King's Shield shortDesc 2020-01-27 19:05:49 -08:00
Guangcong Luo
4ff0f0bf2e Update shortDescs for "damaging attacks"
Moves like King's Shield, Obstruct, and Mat Block only protect against
non-Status moves; this is now mentioned in shortDescs.
2020-01-27 18:26:57 -08:00
The Immortal
41f1085d00 Wandering Spirit: Prevent swapping Illusion/Wonder Guard 2020-01-27 05:56:55 +04:00
The Immortal
f9c5b2868b Random Battle updates 2020-01-27 05:26:08 +04:00
The Immortal
5b910431a7 Disguise: Fix double activation 2020-01-25 16:20:40 +04:00