Commit Graph

1242 Commits

Author SHA1 Message Date
The Immortal
de7c22bc86 Allow Double Iron Bash in Hackmons 2019-11-16 09:13:58 +04:00
The Immortal
645f5d48aa Fix Breaking Swipe 2019-11-16 09:10:34 +04:00
The Immortal
3bd93ca15e Fix Clangorous Soul 2019-11-16 08:57:45 +04:00
Kris Johnson
d73f05dc0c Check if the target is Dynamaxed for weight moves (#5957) 2019-11-15 23:22:24 -05:00
HoeenHero
9ecbcabee9
Dynamaxing (#5946) 2019-11-15 21:33:10 -05:00
Kirk Scheibelhut
f058731311 Fix typos in data/moves.js 2019-11-15 14:11:39 -08:00
Kris Johnson
a19ad51a20 Fix one part of the build (#5945) 2019-11-16 00:08:28 +13:00
Ezaphs
1608c2387e Add Gen 8 learnsets, Max and G-Max moves (WIP) 2019-11-15 22:02:38 +13:00
Kris Johnson
f91c7471c5 Add Gen 8 Moves 2019-11-15 22:02:24 +13:00
420Blazeitt
723e256aec Add Gen 8 Items 2019-11-15 22:02:15 +13:00
urkerab
4ab68a3440 Refactor Toxic from Poison types against semi-invulnerability (#5930) 2019-11-06 19:51:22 -05:00
pokemonvortex
bac81b59db Fix Blast Burn wording for consistency (#5927) 2019-11-03 10:50:09 -05:00
urkerab
bae434e606 Add a single event for a move's own immunity to a specific target (#5904) 2019-10-24 11:00:28 +10:30
urkerab
5b9d0c8db6 Centralise invulnerability checks for No Guard and Lock-On (#5894) 2019-10-17 22:32:44 -04:00
urkerab
3bfec7bf2f Rename TryImmunity to Invulnerability (#5877)
It's a check for semi-invulnerability rather than any sort of immunity.
2019-10-16 20:12:12 -04:00
Guangcong Luo
e97bb7462a Fix healing move messages at full HP
Fixes #5885

Fixes #5746
2019-10-15 20:32:32 +10:30
Kirk Scheibelhut
691cf76de7 Fix EBC for external staleness via consumed Leppa 2019-10-05 15:41:18 -07: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
urkerab
948257cce7 Change weight units to hectograms (#5765) 2019-10-03 14:00:16 +10:00
supermii2
f1de564999 Fixed a missing space in Grassy Terrain shortDesc (#5773) 2019-09-12 21:08:08 -07:00
Danofares
c7da0b1e82 Fix Toxic interaction with semi-invulnerable states (#5625) 2019-08-08 20:33:13 -04:00
ekmnoop
892551fc86 Fix alphabetization in data/moves.js (#5650) 2019-07-23 15:28:46 +02:00
ekmnoop
913395fa40 Fix alphabetization in data/moves.js (#5647)
sandstorm > sandtomb
2019-07-23 13:40:20 +02:00
Guangcong Luo
3db1d9916c Deduplicate Template definition
It turns out Template is the only remotely-easy type to merge the class
and interface for.

The others all have a bunch of event methods which would need to be
redefined on the class.
2019-07-19 18:20:42 -05:00
Jacob McLemore
bd55178ee8 Moves: Fix Psych Up's interaction with Focus Energy and Laser Focus (#5621) 2019-07-17 09:22:53 -07:00
urkerab
6155639fbc Fix Pickup/Recycle of Terrain Seed while terrain is up (#5594) 2019-07-06 21:19:31 -05:00
Marty-D
611fab25a6
Fix Knock Off power against targets holding the user's species-specific items 2019-06-19 16:37:35 -04:00
asgdf
d12dc87c84 Fix Reflect Type interaction with typeless targets on client (#5533) 2019-06-11 09:25:06 -04:00
Danofares
8924245f5a Fix typo in Purify's shortDesc (#5529) 2019-06-09 12:59:05 -07:00
Marty-D
e4574c4efb
Fix type-changing moves that rely on held items 2019-06-06 16:58:16 -04:00
Jacob McLemore
0ae5f842d3 Fix Fusion Bolt and Fusion Flare's interaction with each other (#5493) 2019-05-14 15:49:51 -04:00
Kirk Scheibelhut
3d24166cdf toId -> toID
Closes #5479
2019-05-12 17:53:01 -07:00
Kirk Scheibelhut
29430984f6 Only add the '-status slp' message in statuses (#5486) 2019-05-08 11:52:44 -04:00
Kirk Scheibelhut
a0734bde6f Redo Endless Battle Clause with a new specification (#5472) 2019-05-07 11:18:06 +09:30
Marty-D
611ddbd6f2 Fix crash in Trump Card 2019-05-06 12:23:36 -04:00
Marty-D
1ee999ff0c Fix Toxic Spikes interaction with Steel/Poison types 2019-04-27 15:50:31 -04:00
Kirk Scheibelhut
7e4929a39f Change protocol for '|split' message type (#5331) (#5332) 2019-04-22 09:20:47 +09:30
Marty-D
a3586f13a0
Correct Yawn activation timing 2019-04-16 09:22:07 -04:00
urkerab
8034198c87 Camouflage and Soak should fail if they don't change the type (#5425) 2019-04-09 08:18:07 -04:00
Marty-D
4652e9a0cb Fix Disable from Cursed Body durations 2019-04-08 17:20:32 -04:00
Guangcong Luo
4c47af28aa Refactor moveHitData
This is actually three refactors:

- swap around thing:slot for slot:thing in MoveHitData
- add Pokemon#getSlot
- remove the ActiveMove class; it's back to being an interface
2019-04-06 19:10:45 +08:00
Kirk Scheibelhut
0efd71dfef Move Data.ActiveMove methods to Pokemon (#5416)
See #5415 for context - having these methods is unsafe and leads
to crashes because not all ActiveMoves are created through the
Data.ActiveMove constructor. Instead of Pokemon, these could
alternatively be static methods on ActiveMove (or the ActiveMove
class could be completely abolished and reverted back to an
interface), but #5415 will deal with ActiveMove long term, this just
fixes the crashes.
2019-04-06 13:14:50 +08:00
Marty-D
707239c897
Fix Fury Cutter 2019-04-05 16:33:46 -04:00
MacChaeger
d3f1161b62 Fix Weakness Policy and Clangorous Soulblaze in doubles (#5389) 2019-04-04 18:51:27 +08:00
Slayer95
6384964a10 Sim: Z Moves may only be disabled when all base moves are (#5387) 2019-03-30 18:14:53 -04:00
Slayer95
628f32e8fb Stricter type definitions for dex data (#5375)
BattleStatuses switched to PureEffectData
2019-03-30 22:31:04 +08:00
MacChaeger
9472019e03 Fix Gear Up and Magnetic Flux (#5368) 2019-03-28 14:19:47 -04:00
Ivo Julca
ac4b94876b Sim: Refactor to use Battle#getAllPokemon() and Battle#getAllActive() 2019-03-26 23:18:19 -05: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