Commit Graph

4711 Commits

Author SHA1 Message Date
urkerab
25fe89f45a Make Contrary Competitive/Defiant self-inflicted (#4276) 2017-12-24 23:29:59 -06:00
urkerab
2873bd8366 Remove an unused parameter from eatItem and useItem (#4210) 2017-12-23 21:36:51 -06:00
urkerab
9a236d5d84 Fix Throat Chop interaction with Z-Moves (#4272) 2017-12-22 10:47:00 -05:00
Marty-D
95e3b7f235
Update Minimize 2017-12-19 11:32:05 -05:00
Marty-D
63bec7bf32 Fix source of status for Flame/Toxic Orb
Relevant for Corrosion
2017-12-19 09:53:53 -05:00
Marty-D
2c9f8ba45f Fix multi-hit Mind Blown again
Went missing in
801883c53a
2017-12-19 09:51:40 -05:00
Marty-D
61fba165c8 Learnsets: Silvally can't legally be taught Fire or Water Pledge
Despite technically having access to all three, the Pledge tutor selects
the move based on the Pokemon, and it's always Grass because it's the
first of the three.
2017-12-18 22:57:37 -05:00
The Immortal
7f752b3d5d Random Battle: Add custom level for Dugtrio 2017-12-19 11:53:24 +08:00
Guangcong Luo
193e948592 Move crashlogger.js -> lib/crashlogger.js 2017-12-16 15:40:45 -06:00
urkerab
3648d0d611 Use zbroken minor for protection against Guardian of Alola (#4255) 2017-12-15 03:33:26 -06:00
Marty-D
3ff22dcf2f
Fix Mega Evolution behaviour 2017-12-14 12:43:39 -05:00
MacChaeger
8d571be74e Fix certain Abilities not being overwritten by most forme changes (#4245) 2017-12-14 11:45:12 -05:00
Marty-D
63b07a3e7c Fix Core Enforcer 2017-12-14 11:39:10 -05:00
Marty-D
6c6750b5b9 Fix moves for USUM Ver 1.1 2017-12-14 11:32:39 -05:00
The Immortal
d3b5f1cdcd Random Battle: Fix Scald/Hydro Pump check 2017-12-14 18:57:37 +08:00
The Immortal
1114121ac5 Random Battle: Improvements 2017-12-13 05:43:28 +08:00
The Immortal
1c6d98664a Fix Baton Pass clause 2017-12-13 05:28:49 +08:00
MacChaeger
fae30ca078 Dancer shouldn't activate after the battle has ended (#4240) 2017-12-11 16:21:01 -05:00
Zach Hartin
f4a66ba977 Add new aliases (#4239) 2017-12-11 11:49:06 -05:00
urkerab
dc3945ff86 Protect should not affect Clangorous Soulblaze's other target (#4237)
Closes #4232
2017-12-11 09:02:24 -05:00
MacChaeger
d2a419d2be Update Stomping Tantrum's description (#4231) 2017-12-10 16:18:53 -05:00
Guangcong Luo
958c5087fc Revert "Protect should not affect Clangorous Soulblaze's other target (#4230)"
This reverts commit e8a7fa98d5.
2017-12-10 02:26:29 -05:00
urkerab
2336bd7573 Make Leftovers/Black Sludge recovery happen during Grassy Terrain recovery (#3970) 2017-12-09 23:27:35 -06:00
urkerab
e8a7fa98d5 Protect should not affect Clangorous Soulblaze's other target (#4230) 2017-12-09 21:09:11 -06:00
Guangcong Luo
b14463d632 Ensure SpA and SpD match in Gen 1
I'm not entirely sure why we're maintaining the separation of SpA and
SpD, except for better support of possible OMs or custom games where
they could be different, I guess.

There are probably game mechanics that would be better supported if we
actually just unified SpA and SpD.
2017-12-08 21:17:39 -06:00
Guangcong Luo
bb598ed6c2 Add rule validator for format rules 2017-12-07 22:07:12 -06:00
MacChaeger
801883c53a Implement Stomping Tantrum (#4175) 2017-12-07 18:36:19 -06:00
urkerab
0aef595177 Fix this unnecessary reference to battle (#4221) 2017-12-07 14:29:11 -06:00
Guangcong Luo
53ee56ff3b Fix Mega Rayquaza mega evolution 2017-12-06 20:09:13 -06:00
Marty-D
f443d1a213
Fix Mega Evolution for Rayquaza 2017-12-06 17:57:10 -05:00
Guangcong Luo
6d3c78fca6 Fix typoes 2017-12-06 14:57:22 -06:00
Guangcong Luo
ead4ffff64 Sky Drop only makes contact on the way down 2017-12-06 12:05:42 -06:00
Marty-D
5be3eb4ac4 Learnsets: VC Celebi is unreleased 2017-12-06 10:48:58 -05:00
Marty-D
e0e8eed67b Add new event Pokemon 2017-12-05 17:35:17 -05:00
Guangcong Luo
c0da44c482 Refactor moveset -> moveSlots
pokemon.moveset is now pokemon.moveSlots, which is at least slightly
clearer about what it's doing (tracking move state, mainly PP).

Mostly, this gives a consistent naming scheme for `move` (a Move
object) vs `moveSlot` (a MoveSlot object).

This also refactors a lot of existing `moveSlot` accesses to be modern,
including using `for...of`.
2017-12-05 11:12:44 -06:00
Guangcong Luo
08d079037d Pass source effect of switches to client
We are now tracking source effects for switch actions, if they're
initiated by effects such as U-turn or Baton Pass. This will lead
to better messages client-side.
2017-12-04 19:14:13 -06:00
The Immortal
783b0b0553 Random Battle updates 2017-12-05 02:37:09 +08:00
Guangcong Luo
118bad3408
Add hint for Ion Deluge 2017-12-04 10:39:07 -06:00
Kris Johnson
88620a049b LC: Ban Aipom (#4207) 2017-12-03 13:44:14 +08:00
Guangcong Luo
f3dbfbe685 Refactor Decision -> Action
"Decision" and "Choice" were always kind of unclear, so Decision is now
Action. It should now be a lot clearer.

Actions are also now strongly typed.
2017-12-02 11:34:55 -06:00
Marty-D
dc7c46b427 Update Ability-changing effects
Fixes #3230, closes #3245
2017-12-02 11:37:36 -05:00
Kris Johnson
ddf66ace34 UU: Ban Kommonium Z and Scolipede (#4202) 2017-12-01 19:38:48 -05:00
Guangcong Luo
f36753f65b Further optimize Pursuit 2017-12-01 16:00:41 -06:00
Guangcong Luo
1ac2745c3e Refactor Pursuit hack
Pursuit no longer uses `moveThisTurn`, but rather `willMove`, which
involves significantly fewer Pursuit hacks.
2017-12-01 15:59:13 -06:00
Guangcong Luo
f4e535bbd6 Enforce consistent key spacing
This was previously not enforced because we used `:1` in too many
places, but those places seem to all be refactored out at this point.
2017-12-01 08:16:23 -06:00
Guangcong Luo
108eab72f0 Battles: Refactor futuremove
We're now passing a real Move object.
2017-12-01 08:01:11 -06:00
MacChaeger
9e69f16157 Fix Defog messages (#4198) 2017-12-01 07:41:24 -06:00
Marty-D
8e41dd75e4
Clarify Photon Geyser descriptions 2017-11-30 21:27:18 -05:00
Guangcong Luo
9bdf674d5f Refactor more tables to arrays
See #4079

Now we're just missing oldgens.
2017-11-30 19:40:16 -06:00
Marty-D
5a8e98d896 Make Ion Deluge fail all the time
Pending version 1.1
2017-11-29 13:33:41 -05:00