Commit Graph

23714 Commits

Author SHA1 Message Date
Guangcong Luo
9832eef3c0 Crash on infinite loop 2018-10-20 19:36:39 -05:00
Guangcong Luo
7aba763836 Redesign room intro messages
- The "You joined" message is now more concise
- Staff intros are now in separate boxes from room intros
2018-10-20 19:34:44 -05:00
Guangcong Luo
c934c04bbc Fix bug in previous commit 2018-10-20 17:55:54 -05:00
Guangcong Luo
4e9ad4e373 Handle process crashes slightly more gracefully 2018-10-20 17:45:17 -05:00
Bär Halberkamp
28625d9efd
Fix trailing whitespace 2018-10-21 00:32:10 +02:00
Bär Halberkamp
c29ea8a493 SSBB: fix a spelling mistake
It's 'bestial' not 'beastial'
2018-10-20 20:55:42 +02:00
Bär Halberkamp
9cfcc4590e SSBB: Fix spelling of my own username 2018-10-20 20:49:33 +02:00
Bär Halberkamp
d0c02da6c9 Wifi: modlog when setting left to more than 1 lower 2018-10-20 20:43:10 +02:00
ImLycan
0c83450936 SSB: Fix crash with tipping over (#4921) 2018-10-20 14:32:06 -04: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
Honko
7bab48845b Gen 4 Random Battle improvements (#4920) 2018-10-20 18:33:52 +04:00
Guangcong Luo
8c3f8acbbb Fix types in CommandContext#parse 2018-10-20 07:33:06 -05:00
Guangcong Luo
ebd929b399 Fix stack overflow in CommandContext#parse 2018-10-20 07:13:07 -05:00
Guangcong Luo
4fe813ebce Improve crashlogger 2018-10-20 07:13:06 -05:00
Kris Johnson
52f65acfa0 Fix /mnm not showing the mega template's ability (#4919) 2018-10-19 19:00:19 -05:00
whales
b9048ca76e Mafia: Fix lynch transferring on sub (#4918) 2018-10-19 07:54:15 -04:00
Quinton Lee
4b0b051f7a PROTOCOL.md: Document |tournament| (#4917)
Fixes #4771
2018-10-19 03:42:07 -05:00
bgsamm
9569dee47f Fix Assurance never doubling when called from other moves (#4905) 2018-10-18 14:54:39 -04:00
whales
dd477570bf Mafia: Fix lynch throttle (#4914) 2018-10-18 16:16:26 +04:00
Guangcong Luo
1a82499387 Don't run full tests on Git prepush
We're now only doing a lint on prepush. We already have CI to make sure
nothing is missed; so we can be a bit lazier on prepush.
2018-10-17 14:49:23 -05:00
Guangcong Luo
8ac84e3ea6 Update dependencies 2018-10-17 14:49:18 -05:00
whales
f45d6b8447 Fix slowchat message in room intro (#4913) 2018-10-17 06:02:29 -05:00
whales
8a25fdcf1f Fix permissions for importinputloghelp (#4911) 2018-10-17 01:20:24 -05:00
Guangcong Luo
efe8410e7c Document inputlog commands 2018-10-16 21:00:03 -05:00
Guangcong Luo
2f0be453cc Gen 3: Fix Pressure PP tracking
This commit makes it so players are always informed about their own
Pressure activations. This fixes Pressure PP tracking for players.
PP tracking for spectators will still be wrong; there's no fix for
that.

Fixes https://github.com/Zarel/Pokemon-Showdown-Client/issues/766
2018-10-16 21:00:03 -05:00
Austin Couturier
104b2dc660 Display room details upon joining (#4352) 2018-10-16 19:50:11 -05:00
ZestOfLife
c0f9884f28 Mafia: Prevent dead player's alts from rejoining (#4906) 2018-10-16 13:27:30 -04:00
Bär Halberkamp
8aeed3699c Chat monitor: don't display \b in filter words to users (#4910) 2018-10-15 14:03:52 -05:00
Bär Halberkamp
8bbb7bd8d0
Remove an extra space in the roomban modlog message (#4909) 2018-10-14 23:01:24 +02:00
Marty-D
dc92d302d7
Fix typo in hurtBy refactor 2018-10-13 10:30:35 -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
b9025c5c0b Correctly track move hits in past gens 2018-10-12 16:58:19 -05:00
Guangcong Luo
fc247ec0f9 Fix crash in Gen 1 Bide 2018-10-12 16:58:05 -05:00
Marty-D
651d152905
Ban Bisharp from tiers below UU
Revert when UU suspect is over
2018-10-12 15:18:12 -04:00
The Immortal
69b435541f
Add UU suspect test 2018-10-12 22:00:16 +04:00
The Immortal
63a2c378b6 Add Gen 3 NU 2018-10-12 19:54:16 +04:00
Guangcong Luo
d687de0dd5 Add tests for Weather Ball 2018-10-11 13:10:33 -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
Kris Johnson
c4a41ffd75 Mix and Mega: Fix Illusion (#4904) 2018-10-11 09:37:22 -04:00
Guangcong Luo
bd5b8e7c66 Remove unnecessary guard in Mix and Mega 2018-10-10 18:52:46 -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
Charlie Kobayashi
3bc113b3a5 Scavengers: make queue public (#4901) 2018-10-10 12:48:25 -04:00
HoeenHero
f555264477 Add new ticket types 2018-10-10 08:23:17 -04:00
LegoFigure11
e9b15acb38 Fix Ultra Spooky Cup Banlist (#4903)
https://3ds.pokemon-gl.com/dl-regulation/6019
2018-10-10 16:08:21 +04:00
The Immortal
f3aecd15f1
1v1: Ban Mimikyu 2018-10-10 15:41:43 +04:00
Kris Johnson
91a78443d1 Add Ultra Spooky Cup (#4898) 2018-10-10 15:07:38 +04:00
Kris Johnson
9aa724df45 /ts: Fix interaction with parenthetical tiers (#4899) 2018-10-10 14:22:23 +04:00