Commit Graph

254 Commits

Author SHA1 Message Date
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
Guangcong Luo
c5faebd739 Remove extraneous properties from BasicEffect
BasicEffect always had a `status` property to support the pattern of
testing it to see if it's a move that sets status directly.

This is just a situation that TypeScript is bad at.

Another possibility would be to set `status: undefined` on PureEffect,
Ability, Item, and Species, but I think that's also ugly. Casting to
Move is probably the best approach, so that's what we do now.
2020-04-25 12:57:46 -07:00
Guangcong Luo
549ef7edb1 Fix MoveData interface definition
For historical reasons, move property definitions have been very blurry
across `EffectData`. Fortunately, recent refactors have made it
possible to put them all where they're supposed to be.
2020-04-25 12:57:46 -07:00
The Immortal
3925dc304d Increase Punk Rock's rating 2020-04-24 20:58:12 +04:00
Kris Johnson
28bf388b98
Typescript data (#6553) 2020-04-23 09:16:09 -07:00