Commit Graph

5077 Commits

Author SHA1 Message Date
Kris Johnson
72efba8f40 Crabominable and Carracosta should be PU (#4953)
They were always PU by usage, but got looked over. Nobody noticed until now because they're both banned from ZU.
2018-11-03 18:57:54 -05:00
Marty-D
716d4a8282 Add new event Pokemon 2018-11-02 10:41:32 -04:00
Guangcong Luo
42dbad88a7 Fix Soak to leak target
Soak is apparently unique and weird in that it animates before
displaying the "But it failed!" message:

https://youtu.be/O8xSp7UYYSU?t=34m21s
2018-11-01 08:45:34 -05:00
Alexander B
34c3096d6b "But it failed!" messages should not reveal the target (#4944) 2018-11-01 09:41:04 -04:00
Guangcong Luo
68e81c8c72 Rename hasSTAB to forceSTAB
This better describes what it actually means.
2018-10-28 05:27:22 -05:00
Guangcong Luo
24571ea603 Fix misc errors found by LGTM 2018-10-28 05:04:30 -05:00
The Immortal
5810799638 Random Battle: Prevent Infiltrator Malamar 2018-10-27 21:56:30 +04:00
Kris Johnson
4a58aedbd5 UU: Unban Bisharp (#4929) 2018-10-24 23:29:58 -05:00
HoeenHero
0a7ebcd076
Super Staff Bros Brawl (#4915)
Was a major project, credit also goes to @CheeseMuffin @KrisXV @ImLycan @MacChaeger @TheTiksiBranch and @Volco for helping to code this format!
2018-10-20 13:53:30 -04:00
bgsamm
9569dee47f Fix Assurance never doubling when called from other moves (#4905) 2018-10-18 14:54:39 -04:00
Alvin Ho
9d676aae71 Fix Mummy and Parental Bond Interaction (#4890)
Problem: Parental Bond when changed to Mummy midstrike would cause the second move to miss the .25 base power modification
Added Parental Bond check in Mummy to maintain the power modification
2018-10-12 21:20:46 -05:00
Guangcong Luo
e3ebf2b3c1 Fix Z-caller Weather Ball interaction 2018-10-11 12:54:45 -05:00
bgsamm
a68f6276e9 Refactor lastAttackedBy to hurtBy (#4894) 2018-10-11 10:23:38 -05:00
Guangcong Luo
f008188b9f UnknownEffect Moves are always ActiveMoves 2018-10-10 18:52:21 -05:00
Guangcong Luo
affcad7873 Improve documentation of isZ vs isZPowered
move.zPowered is renamed move.isZPowered. It's now documented in JSDoc
exactly how it differs from move.isZ.

This commit includes several minor refactors to Z-move mechanics,
including a bug fix: Z-boosted called Weather Ball is now correctly
typed.
2018-10-10 18:44:05 -05:00
Guangcong Luo
ecb27edb4d
Introduce ActiveMove; make some types read-only (#4902)
The types Template, Move, Ability, and Item are now read-only. This
should guard against accidental writing to types that shouldn't be
written to.

A new type, ActiveMove, has been introduced. Like it sounds, it's
used for moves that are currently actively being used. A lot of
attributes that are only relevant to active moves, such as
`hasBounced`, are now only available on ActiveMove, not on Move.
ActiveMoves are mutable, unlike Moves.

getMoveCopy has been renamed getActiveMove, to better reflect its
role. `isCopy` has been deprecated, and distinguishing Moves from
ActiveMoves is now done by `typeof move.hit === 'number'` where
necessary.

ActiveMoves now internally track which hit of a multihit move
they're on, in move.hit, so move.hit doesn't need to be manually
incremented by Triple Kick and Parental Bond anymore.

move.hasParentalBond has been replaced by a more generic
move.multihitType.
2018-10-10 16:04:35 -05:00
Kris Johnson
8d34387e37 Add 'neckboy' alias for Exeggutor-Alola (#4900) 2018-10-09 23:29:20 -05:00
The Immortal
caa44a9262
Fix Drampa's tier 2018-10-08 21:13:56 +04:00
The Immortal
49afd3a89e Move Bisharp and Latios to UUBL 2018-10-08 14:11:23 +04:00
Alvin Ho
7d0275b453 Fix Flower Veil interaction with self-inflicted status and Yawn (#4889) 2018-10-07 21:48:30 -04:00
whales
d16eba8da4 Fix Assurance doubling on faint (#4876) 2018-10-07 21:46:29 -04:00
Kris Johnson
b6094806da Support ZU in the teambuilder (server-side) (#4888) 2018-10-07 15:56:36 +04:00
The Immortal
90439f8145 Random Battle: Fix Arceus-Ghost 2018-10-07 00:26:09 +04:00
Marty-D
086daa92dc Add new event Pokemon 2018-10-05 20:09:14 -04:00
Kris Johnson
ce35687f7b Type: Null is PU (#4886) 2018-10-05 16:36:35 -05:00
n10sit
a7ed6cd38f Doubles tier shift updates (#4885)
https://www.smogon.com/forums/threads/usage-based-tier-update-for-october-2018.3642391/page-2#post-7926403
2018-10-05 11:12:51 -04:00
Marty-D
fc08ac5506 Tiers: Update for October tier shift 2018-10-05 09:31:55 -04:00
Quinton Lee
94016f6218 Update Typescript to 3.1 (#4879) 2018-10-05 04:02:54 -05:00
Kevin Lau
ce4cdcbc30 Random Battle: Update sets with forum suggestions (#4877) 2018-10-01 15:38:15 +04:00
Marty-D
8e4f83778f Gen VI-VII: Update breaking protection 2018-09-24 13:56:59 -04:00
The Immortal
d80c813118 Update Random Battle 2018-09-24 17:10:17 +04:00
The Immortal
5df0a02fcb Revert "Implement Illusion Level Mod"
This reverts commit 60075830b6.
2018-09-24 15:54:33 +04:00
Kevin Lau
48e0e8755d Random Battle: Fix Torterra (#4870) 2018-09-24 14:13:54 +04:00
The Immortal
5ef9857101 Random Battle: Fix Arceus 2018-09-24 07:07:37 +04:00
Guangcong Luo
60075830b6 Implement Illusion Level Mod
Normally, Illusion copies everything except the level, so if Zoroark is
a different level from the pokemon it's copying, it's very obvious that
it's a copy. This isn't a problem normally (because everyone is 50 or
100), but in randbats, it's a big tell, and makes Zoroark weaker than
it's supposed to be.

And, unrelatedly, everyone thinks it's a bug even though it's not.
2018-09-21 16:33:17 -05:00
Marty-D
6024c4a1b1 Add new event Pokemon 2018-09-20 21:37:23 -04:00
The Immortal
0818b1cd9e Random Battle: Various improvements 2018-09-20 04:47:40 +04:00
The Immortal
2def7525a4 Random Battle: Add Z-Move Mimikyu 2018-09-20 00:52:07 +04:00
Alexander B
a0c921323c Fix double Sky Drop message (#4864) 2018-09-19 17:11:56 +04:00
The Immortal
fe2097dd82 Reduce Emergency Exit's rating 2018-09-18 22:28:24 +04:00
Marty-D
76e486f7c1
Fix Conversion 2
Who did this...
2018-09-16 09:12:49 -04:00
Marty-D
faf04449df
Clarify Mind Blown description 2018-09-14 20:31:02 -04:00
Marty-D
b4b2f1ebf0 Fix Laser Focus 2018-09-13 11:35:29 -04:00
Marty-D
952ccb2d80 Correct Soul-Heart activation order 2018-09-13 11:34:30 -04:00
Kris Johnson
2a25f4e333 Battle Factory: Update Ubers (#4851) 2018-09-12 23:07:54 +04:00
The Immortal
f4e2b4fbed September tier shifts 2018-09-10 22:28:09 +04:00
Kevin Lau
50c2413d0d Random Battle: Update Empoleon (#4844)
Hidden Power Fire has virtually no useful coverage for a Pokemon that
should always have a Water move, and Defog is a popular move on
Empoleon. Also add rejection for Defog+Stealth Rock similar to the
already-existing Defog+Spikes rejection.
2018-09-06 15:39:37 +04:00
Marty-D
16faa75ee4 CAP: Add Mumbao and update prevos 2018-09-04 14:23:14 -04:00
Marty-D
733ea72d4f Make a move fail if the target is the user and it's not self-target 2018-09-03 11:24:38 -04:00
The Immortal
9623a190bf Update PU 2018-09-03 16:23:09 +04:00