Commit Graph

8558 Commits

Author SHA1 Message Date
Guangcong Luo
779fa27338 DNSBL: Update Zenmate nohost listing 2015-05-27 14:37:17 -04:00
Guangcong Luo
0bebcdf028 Fix previous room demotion fix 2015-05-27 14:37:17 -04:00
Guangcong Luo
066b1d6828 Merge pull request #1865 from ascriptmaster/move-fixes
Battle refactor: No longer reset ignore in Battle#update
2015-05-27 01:11:34 +00:00
Guangcong Luo
b10d0c0bba Fix locking to correctly track locked username
A bug made it so the wrong username would be sometimes be tracked
when locking autoconfirmed users, complicating appeals and unlocking.
2015-05-26 21:07:47 -04:00
Guangcong Luo
e34257b37f Improve locked/banned message phrasing 2015-05-26 21:07:47 -04:00
Guangcong Luo
a2f0e9c727 Improve /roomban
Roombans now correctly ban autoconfirmed users.
2015-05-26 21:07:47 -04:00
Guangcong Luo
a305baabfe Improve roomdemote permissions
While demoting, global rank wasn't taken into account correctly,
which allowed players to roomdemote global moderators. This has
been fixed.
2015-05-26 21:07:47 -04:00
The Immortal
34f7063c79 Remove Little Cup competition 2015-05-26 23:57:31 +04:00
Juanma Serrano
98dcac1d8b Gen 1: Fix (de)boost behaviour
The routine for burn and para drops is checked after applying boosts to the Pokémon whose turn is not, regardless of the target of the move, when a Pokémon uses a move that results in a stat change.
2015-05-26 18:12:06 +02:00
Juanma Serrano
825fc4b92e Gen 1: Fix bug with stat modifiers over +2 2015-05-26 17:58:37 +02:00
Guangcong Luo
b7aa629703 Merge pull request #1889 from ascriptmaster/move-fixes-2
Battle refactor: New function isGrounded(), bug fixes
2015-05-26 07:09:19 +00:00
Guangcong Luo
590ebf9730 Merge pull request #1898 from ascriptmaster/tests
Un-hardcode Rock Head in favor of an onDamage handler
2015-05-26 01:25:06 +00:00
sirDonovan
076e721c05 Add NU suspect test 2015-05-25 18:18:37 -05:00
The Immortal
3cdf886d6f Remove Classic Hackmons 2015-05-25 13:08:57 +04:00
The Immortal
edf406a3ff Update Ubers ruleset
Evasion is banned so it now follows the same bans as `Standard`.
`Standard Ubers` is still used by BW Ubers.
2015-05-25 12:43:12 +04:00
Joimer
4f2ee6a749 Gen 2: Fix crash in team validator 2015-05-25 00:33:58 +02:00
The Immortal
b2d4109a0c Update AAA viability ranking thread 2015-05-25 00:59:25 +04:00
The Immortal
4a6d128e2f Add Inverse Battle Viability Ranking to /om 2015-05-24 12:38:11 +04:00
The Immortal
d5a3bff609 Update STABmons bans 2015-05-24 12:37:24 +04:00
Marty-D
c40fdef413 Remove Yawn tag when the effect ends 2015-05-23 14:48:13 -04:00
Guangcong Luo
f27b8376fe Merge pull request #1812 from sirDonovan/tourautostart
Tournaments: add auto start feature
2015-05-23 04:52:39 +00:00
Marty-D
1e5b241c0d Gen I, II: Fix rampage moves
- The lock starts even if the move is blocked by Protect, misses, or the
target is immune
- The lock ends without causing confusion whenever the move cannot be
executed
- When the lock ends normally, confusion begins even if the user is
already confused, and there is no indication that confusion has started
- In Gen 1 the duration is 3-4 turns
2015-05-22 14:30:44 -04:00
Juanma Serrano
d3ec7c55cc Gen 2: Fix problem in learnset check with Sketch 2015-05-22 11:04:58 +02:00
Juanma Serrano
1164bd7710 Add DOU suspect test 2015-05-22 10:37:59 +02:00
The Immortal
32e263a66f Add RU suspect test 2015-05-22 12:33:23 +04:00
Kevin Lau
61996d3f6e Battle refactor: New function isGrounded(), bug fixes
Added BattlePokemon#isGrounded to check for the grounded-ness of a
Pokemon. Also BattlePokemon#isSemiInvulnerable for whether a Pokemon is
in the first turn of a two-turn move that makes them semi-invulnerable.

Fixed Terrain bugs involving Pokemon in a semi-invulnerable state.

Changed OHKO move check to use BattlePokemon#isSemiInvulnerable, fixing a
graphical bug that would display an immunity message when a Pokemon
attempted an OHKO move on a higher-leveled Pokemon that was being held by
the effect of Sky Drop.

Fixed Misty Terrain bug that was causing Rest and the effect of Yawn to
put Pokemon to sleep.

Fixed Misty Terrain bug that was causing Yawn to fail.

Fixed Electric Terrain bug that was causing Yawn to succeed.
2015-05-21 16:54:44 -07:00
Ivo Julca
db4eec3e2a Fix support for Node 0.12
Update the detection of legacy engines, as Node 0.12 has native Map support enabled by default
2015-05-21 18:10:56 -05:00
Guangcong Luo
42ea92bc53 Merge pull request #1893 from SolarisFox/patch-1
Implement /forceban and /forcelock
2015-05-21 22:57:02 +00:00
SolarisFox
8d0f4ab608 implement /forceban and /forcelock 2015-05-21 15:41:19 -07:00
Kevin Lau
17724c59f0 Un-hardcode Rock Head in favor of an onDamage handler
Instead of having a hardcode in scripts.js that people needed to
reference, it seemed more intuitive to take advantage of the Damage
event instead, and have Rock Head negate damage within the event.

Fixed a bug in Gen-NEXT Rock Head exhibiting the same behavior that
was causing the original Rock Head + Mummy glitch.
2015-05-21 13:52:02 -07:00
Kevin Lau
c919f1504e Add and fix up Sheer Force, Rock Head, and Substitute tests
"Sheer Force should eliminate Life Orb recoil in a move with secondary
effects" would always pass even with wrong implementation because the
Sheer Force Pokemon being used was not holding a Life Orb.

Added tests related to Mummy to Sheer Force and Rock Head.
2015-05-21 13:52:01 -07:00
Marty-D
0581a47431 Fix rampage-ending confusion message 2015-05-21 14:54:37 -04:00
Juanma Serrano
c8f1b8c150 Gen 1: Articuno and Jolteon are OU 2015-05-21 09:55:20 +02:00
Guangcong Luo
ae89d74e75 Merge pull request #1896 from ascriptmaster/protocol
Add -center message type for Triples Automatic Center
2015-05-21 07:27:19 +00:00
Kevin Lau
9a2e2eb4f7 Document the -center message 2015-05-20 23:14:26 -07:00
Kevin Lau
f40506d133 Add -center for Triples Automatic Center
It's a single exception to the rule that -message be used for rule clauses
or custom metagames.
2015-05-20 23:11:45 -07:00
Ivo Julca
723f4b5a4b Fix support for Node 0.10-0.12
Some child processes now use ES6 methods, so we got to make sure they are available with `es6-shim`
2015-05-21 01:07:08 -05:00
The Immortal
615c7cb70d Update /tiers UU 2015-05-21 09:35:19 +04:00
The Immortal
d228023105 Merge pull request #1900 from Rhythms88/master
Add UU suspect test
2015-05-21 09:25:43 +04:00
Rhythms
5c4562f8c3 Add UU suspect test 2015-05-20 18:21:50 -06:00
Guangcong Luo
1824125753 Merge pull request #1887 from SolarisFox/patch-5
Style fix: indexOf() comparisons
2015-05-20 18:59:18 +00:00
Marty-D
0e2606b9b9 Fix failure message showing for self effects 2015-05-20 10:45:17 -04:00
The Immortal
517d1a3e70 Merge pull request #1895 from ascriptmaster/randoms
Random Doubles Battle: Item Distribution Update
2015-05-20 09:49:58 +04:00
Kevin Lau
276f5ff475 Random Doubles Battle: Item Distribution Update
- Removed Trick/Gyro Ball checks as no Pokemon uses that combination.

- Reject Life Orb on Pokemon with 55 or less base Speed.

- Add a check for slow and strong Regenerator Pokemon to receive Assault
  Vest, at slightly higher priority than Sitrus Berry.
2015-05-19 16:02:47 -07:00
Marty-D
c1a1ce85df Fix failure message showing for secondary effects 2015-05-19 15:49:45 -04:00
Kevin Lau
12be51b262 Battle refactor: New functions ignoringItem() and ignoringAbility()
BattlePokemon#ignoringItem and BattlePokemon#ignoringAbility are
hardcodedto return true for any situation where pokemon.ignore['Item']
or pokemon.ignore['Ability'] respectively would have been true.
2015-05-18 19:17:41 -07:00
SolarisFox
29b961ff69 Style fix: indexOf() comparisons 2015-05-18 15:55:57 -07:00
Guangcong Luo
bb6e934507 Merge pull request #1892 from Morfent/trivia
Chat plugins: AotD and Trivia bug fixes
2015-05-18 22:29:30 +00:00
Morfent
882e9369f2 Chat plugins: AotD and Trivia bug fixes
- Remove question sorting on loading the Trivia plugin, since it is no
  longer required
- Trivia game winners are chosen based on who answers first, not who
  signs up first
- The Artist of the Day is no longer always the first artist to be
  submitted
- Replace instances of foo > -1 with foo >= 0
2015-05-18 18:38:29 -03:00
Marty-D
5d0beee8ac Fix partial trapping end messages 2015-05-18 15:08:52 -04:00