Commit Graph

6882 Commits

Author SHA1 Message Date
Guangcong Luo
00ffe38593 Inherit ItemData from Item etc
Previously, Condition inherited from ConditionData. Now, ConditionData
inherits from Condition. The advantage of the new approach is that now,
Condition and DataCondition no longer need to be separate types, and
there should be much less duplication of type definitions in general.

This has also been done for

- ItemData/Item/DataItem
- AbilityData/Ability/DataAbility
- FormatData/Format/DataFormat

Species and DataSpecies was already merged, but this also reverses
their inheritance (saving a lot of duplicated definitions in the
process!)

The only one left is MoveData, which is just super complicated and
will need its own commit.
2020-11-04 20:56:27 +00:00
Guangcong Luo
68ac96b7da Split up dex-data over individual files
This commit introduces:
- `dex-abilities.ts`
- `dex-conditions.ts`
- `dex-formats.ts`
- `dex-items.ts`
- `dex-moves.ts`
- `dex-species.ts`

These files centralize definitions from `dex-data` and `global-types`.
2020-11-04 18:57:27 +00:00
The Immortal
2bc4a51a50 Random Battle improvements 2020-11-03 19:43:57 +04:00
Leonard Craft III
920af21aac
Abilities: Add isPermanent flag (#7614) 2020-11-03 10:31:11 -05:00
Kris Johnson
e1c96f8a74
Add Alphabet Cup Move Legality (#7628) 2020-11-03 02:42:34 +04:00
Kris Johnson
d83118162b Update NU-legal Pokemon 2020-11-01 23:55:38 -07:00
The Immortal
88f8140d04 Update ZU-legal Pokemon 2020-11-02 04:38:13 +04:00
The Immortal
c15663508b Gen 2 Random: Fix typo 2020-11-02 02:40:34 +04:00
The Immortal
43235fcfc4 Add new PU bans 2020-11-02 02:36:15 +04:00
The Immortal
a36bda12e7 Gen 2 Random: Fix Rest + Sleep Talk 2020-11-02 02:29:01 +04:00
Kris Johnson
2db0a1fdb2 Mark other Genesect formes as unreleased in DLC1 2020-11-01 15:25:53 -07:00
ACakeWearingAHat
3037781e1d
Revamp Gen 2 Random Battle (#7610) 2020-11-02 01:13:11 +04:00
The Immortal
98feea3237 Update NU-legal Pokemon 2020-11-01 21:27:51 +04:00
The Immortal
985f701cde November tier update 2020-11-01 21:19:52 +04:00
The Immortal
2a19255535 Update Doubles tiers 2020-11-01 20:23:56 +04:00
Kris Johnson
ba4c9d7a2a
Add November's OMotM, LCotM and RoA Spotlight (#7615) 2020-11-01 15:36:24 +04:00
Leonard Craft
0300dadc9e DOU: Ban Marshadow, Shadow Tag
https://www.smogon.com/forums/threads/np-ss-dou-stage-5-one-more-time-jirachi-melmetal-urshifu-single-strike-swagger-quickbanned-marshadow-shadow-tag-quickbanned.3672010/post-8644210
2020-10-31 16:30:28 -05:00
The Immortal
3165246829 Random Battle: Minor updates 2020-10-31 17:38:23 +04:00
The Immortal
91030b547d Add event Milcery 2020-10-31 01:25:17 +04:00
The Immortal
501f502ebc Add Pikachu-World event 2020-10-31 00:07:31 +04:00
The Immortal
42f491a092 Fix Ripen 2020-10-30 14:03:35 +04:00
Kris Johnson
a641cfcce8
Fix Overflow Stat Clause and turn it into a mod (#7604) 2020-10-30 10:59:38 +04:00
The Immortal
8d3e06854f Add Galarica Wreath 2020-10-29 21:01:56 +04:00
edcrfv
29ef7b5580
Fix Hold Hands' num (#7603) 2020-10-29 20:33:36 +04:00
Kris Johnson
ab6e173e24
Move natures into their own file (#7601) 2020-10-29 08:38:03 -07:00
The Immortal
1a0e56a3ac Fix Neutralizing Gas interactions 2020-10-29 04:35:12 +04:00
Kris Johnson
3c23ce3a44
Fix G-Max Depletion (#7571) 2020-10-28 16:54:58 -07:00
The Immortal
76e70ab6ae Genesect formes should also be Uber 2020-10-29 02:04:01 +04:00
The Immortal
e12591ad0a Move Genesect and Naganadel to Uber 2020-10-29 01:48:07 +04:00
Kris Johnson
b1e2331c7b
Fix Slow Start's interaction with Neutralizing Gas (#7580) 2020-10-28 12:51:33 -07:00
The Immortal
2e6ccdd738 Random Doubles: Fix Regieleki 2020-10-28 22:47:43 +04:00
urkerab
4da5d66951
Make Eerie Spell's secondary effect secondary (#7575) 2020-10-27 13:58:41 -07:00
The Immortal
5353a8a239 Random Battle improvements 2020-10-27 22:56:10 +04:00
Guangcong Luo
7eafea8ee1 Add client text data
This syncs data/text to exactly match the client's data/text, in
preparation for them to be merged. The server's data/text will be
canonical, moving forward:

Relevant changes:

- A new file `data/text/default` has been added, for battle messages
  not associated with a move/item/ability.

- As One (Glastrier) and As One (Spectrier) should not have a start
  message; only As One itself.

- Hidden Power's `realMove` property does not belong in data/text
  and has been removed (it's still in data/moves where it belongs).
2020-10-27 16:56:08 +00:00
The Immortal
4be8cc8355 Add Overflow Stat Clause 2020-10-27 00:35:51 +04:00
ACakeWearingAHat
b4ac82a807
Allow Randdubs Power Construct Zydog (#7583) 2020-10-26 23:31:27 +04:00
Mia
d625976216
Rulesets: Fix crash in CCAPM2 (#7582) 2020-10-26 22:33:08 +04:00
The Immortal
f565659fd3 Random Battle updates 2020-10-26 20:12:55 +04:00
ACakeWearingAHat
186dbae731
Random Doubles Updates (#7569) 2020-10-26 20:05:10 +04:00
urkerab
ff0ca077b6
Update Lunar Dance to Gen 8 mechanics (#7576) 2020-10-26 19:39:39 +04:00
May Evans
e102416793
Ban Japanese Gen 1 Events in Int Formats: Part 2 (#7581)
Co-authored-by: Guangcong Luo <guangcongluo@gmail.com>
2020-10-26 06:00:35 -07:00
The Immortal
f1d82ee1e0 Add gift Toxel event data 2020-10-26 06:15:51 +04:00
urkerab
83d1556fa6
Ignore As One boosts when already maxed out (#7574) 2020-10-26 05:56:55 +04:00
Kris Johnson
c3ea57f8cc
Fix typo 2020-10-25 18:15:01 -06:00
urkerab
b90f03b77e
Calculate natures with 16-bit truncation (#7540)
Also fixes Let's Go! which wanted to override these but couldn't.
2020-10-25 16:54:43 -07:00
Marty-D
1f07a6ead9 Update descriptions 2020-10-25 16:15:57 -04:00
LegoFigure11
eea703eef9
Fix Crown Tundra Pokedex validation (#7573) 2020-10-25 15:59:10 +04:00
Kris Johnson
3e15896a0d Restrict Calyrex-Ice and Calyrex-Shadow correctly 2020-10-24 20:25:32 -06:00
Marty-D
56fe32b14b
Prevent Abilities from copying As One as well 2020-10-24 18:22:08 -04:00
The Immortal
a832a0f4c5 Add event Porygon 2020-10-25 01:27:45 +04:00