Commit Graph

23714 Commits

Author SHA1 Message Date
Ivo Julca
e16346005a Bump version to 0.9.3
Battle choices will now be parsed in a significatively different way.
2014-11-13 14:45:56 -05:00
Ivo Julca
9406a4a62d Move Struggle usage warning to choice parsing
- It is now sent to the relevant player only, and before the turn resolves.
2014-11-13 14:45:54 -05:00
Ivo Julca
f33909e969 Hide moves disabled by Imprison or NEXT's Telepathy
- Pokémon affected by Imprison -or Telepathy in NEXT- will now have a special flag 'maybeDisabled' in move requests if they are the last active pokémon.
- If a Pokémon having this flag attacks, the player will not be able to cancel their decision.
- Refactor Battle#parseChoice: Move decisions will now be parsed based on all the moves a pokémon knows after LockedMove, rather than only on validMoves. Any request to use a disabled move or a move with 0 PP will now be replied with a message in the form |callback|cant|[pokemon]|[sourceEffect]|[move], unless the pokémon has no valid moves, in which case it will use Struggle. The check for lockedMove in choice parsing is now performed as the first action after checking that the pokémon is not fainted. This prevents pokémon from Shifting to the center in Triples while being locked into a move.
- Don't report moves' being disabled to the client in requests if they are disabled due to Imprison or Telepathy. Instead, their being disabled will be reported using the mechanism described above.
2014-11-13 14:45:51 -05:00
Ivo Julca
d928b64221 Implement BattlePokemon#disableMove to support hiding information
- Changed data to use it anywhere moves get disabled.
2014-11-13 14:45:49 -05:00
Guangcong Luo
5096f7433c Merge pull request #1307 from Morfent/triviascope
Trivia plugin: fix Q/A loop bug, various updates
2014-11-13 23:35:36 +08:00
Guangcong Luo
be8fe06c9d Merge pull request #1262 from sirDonovan/lockdown
Add /prelockdown command
2014-11-13 23:25:29 +08:00
Morfent
46ffa07212 Trivia plugin: refactor Trivia object and values
Fix bug in the question/answer loop that would assign undefined to
either curQ, curA, or phase, preventing anyone from answering any
questions until this.curQs was empty, by changing all of the game
variables from global variables to Trivia properties. Created a
constructor for Trivia so its methods could be kept in its prototype
object to reduce property lookup times and later to allow me to refactor
parts of the commands that deal with these properties as prototype
methods.

Fix room.addRaw not updating chat.
2014-11-13 10:15:54 -04:00
The Immortal
3da3db10a5 Ubers suspect test is over 2014-11-13 17:09:08 +04:00
Juanma Serrano
41ff26e808 Merge branch 'NickMP-patch-27'
Squash the commits from Pull Request 1278 into one and add it in.
2014-11-12 12:38:21 +01:00
NickMP
20dc263fc5 NEXT: Update Gossamer Wing
Update Gossamer Wing to provide healing to Dustox/Lilligant.
2014-11-12 12:36:26 +01:00
Juanma Serrano
45db846c15 Merge branch 'Redew-update-commands'
Squash two commits from Pull Request 1251 into one and apply changes.
2014-11-12 12:28:34 +01:00
CJ
41dbcaf6be Update /back
The command /back now alerts you "You are already available for challenges!" if you do /back twice or if you haven't done /back.
2014-11-12 12:26:40 +01:00
Juanma Serrano
61b425e633 Merge branch 'Audiosurfer-patch-1' 2014-11-12 11:21:36 +01:00
Audiosurfer
5a70a627a5 Update Smogon Doubles Random Battle movepools
Update some movepools as well as add new movepools for all ORAS megas in Smogon Doubles Random Battle format.
2014-11-12 11:20:26 +01:00
Marty-D
0cc233a58f Fix Hyperspace Fury check. 2014-11-11 23:50:27 -05:00
Joimer
8065adc61a Update Seasonal Strikes Back
Update typechart changes.
Also made it less random.
2014-11-11 21:21:29 +01:00
Marty-D
36189c1c15 Update ORAS Smogon Doubles banlist.
- Huntail gets Sucker Punch by level up in ORAS
2014-11-11 14:43:45 -05:00
Juanma Serrano
26c03e50f3 Update Seasonal Strikes Back: Add safeguard against hash collision
There's an improbable chance that a nickname gets a hash collision.
In such a case, the player gets five instead of six Pokémon.
This safeguard prevents that improbable event from happening at all.
2014-11-11 18:30:59 +01:00
Juanma Serrano
458b9bace5 Update Smogon Doubles ORAS: Some tutors are back
The tutor moves for Leavanny and Sylveon are back and thus legal.
Also add Team Preview.
2014-11-11 18:29:54 +01:00
Juanma Serrano
7e3daf24b1 Implement ORAS Smogon Doubles as an OMotM
Implement the preview meta ORAS Smogon Doubles.
This ladder is meant to be a preview for the upcoming new Smogon Doubles metagame.
It is considered OM of the Month such as ORAS OU until the ORAS release.
2014-11-11 17:55:43 +01:00
Ivo Julca
2fafbb29a8 Fix odd requests for Pokémon trapped by multiple sources 2014-11-11 00:27:04 -05:00
Ivo Julca
ac671bcc99 Fix Stealth Rock in Inverse 2014-11-10 19:33:30 -05:00
Marty-D
e76205c12f Use -fail messages for Hyperspace Fury. 2014-11-10 17:36:12 -05:00
Juanma Serrano
0adab9e27a Merge pull request #1309 from ascriptmaster/npm-fix
Fix every error in the Travis CI Build / npm test
2014-11-10 20:06:59 +01:00
ascriptmaster
15b04f0a8a Fix every error in the Travis CI Build / npm test 2014-11-10 10:57:38 -08:00
Joimer
2aac94761a Update credits
Joim is no longer retired.
2014-11-10 11:40:49 +01:00
Joimer
676d67a1bf Merge branch 'master' of http://github.com/Zarel/Pokemon-Showdown 2014-11-10 11:36:51 +01:00
Joimer
2ff379f51e Implement november seasonal, Seasonal Strikes Back
Seasonal format is a random battle format that changes its rules monthly.
It often includes limited Pokmon pools, wacky mechanics you'd never encounter in game, and other fun stuff.
2014-11-10 11:34:12 +01:00
Marty-D
0a31dab7e8 Fix Secret Power. 2014-11-09 20:40:31 -05:00
Joimer
6b10f3961d Exclude Magikarp's Revenge from Smeargle's movepool in Challenge Cup 2014-11-10 01:02:30 +01:00
Joimer
c490c3a9a2 Add the FAQ entry of custom avatar to /faq 2014-11-10 00:08:26 +01:00
Marty-D
bf978fab91 Only Hoopa-Forme can use Hyperspace Fury. 2014-11-09 16:25:54 -05:00
Marty-D
59bcba8163 Correct Gen 6 move targets. 2014-11-09 11:11:12 -05:00
The Immortal
547ceb92b2 Update UU suspect 2014-11-09 19:55:53 +04:00
Marty-D
d618301e8f Fix Aromatic Mist. 2014-11-09 10:28:14 -05:00
Marty-D
f0ca855d94 Add sprites for Blue and Red Orb. 2014-11-09 09:47:41 -05:00
V4Victini
5c805a028e Correct Cheek Pouch mechanics
Didn't know this was still set to 25%...
2014-11-06 23:48:23 -05:00
Ivo Julca
d5b7034da1 Remove unnecessary checks for sound immunity
As of ecbc9bfd62, no effect provides an "immunity" to sound.
2014-11-05 21:26:25 -05:00
Guangcong Luo
6c904dc66c Merge pull request #1303 from ScottehMax/patch-1
Add joim as an alias of join
2014-11-05 21:00:27 +08:00
ScottehMax
978b02cf26 Add joim as an alias of join
In recognition of your outstanding accomplishments in the field of
Pokémon sciences, we hereby award you the highest of honors; a
commemorative alias.
2014-11-04 19:04:56 +00:00
The Immortal
9cf68fc9bc Remove ended XY battle competition 2014-11-03 01:23:01 +04:00
Slayer95
579b93c8e1 Merge pull request #1300 from ascriptmaster/aromasipper
Aromatherapy triggers Sap Sipper
2014-11-02 01:45:10 -05:00
ascriptmaster
ef50dea521 Aromatherapy triggers Sap Sipper 2014-11-01 17:10:38 -07:00
Slayer95
c501f3297a Merge pull request #1301 from ascriptmaster/geomancy
Geomancy is viable
2014-11-01 13:53:59 -05:00
ascriptmaster
06c8bd7ed0 Geomancy is viable 2014-11-01 11:30:04 -07:00
The Immortal
ed95463207 Update OMs 2014-11-01 15:12:29 +04:00
Slayer95
04b1aad8e3 Merge pull request #1296 from ascriptmaster/oras-weather
Fix Primordial Sea glitch
2014-10-30 17:15:55 -05:00
ascriptmaster
213d9ef47f Fix Primordial Sea glitch 2014-10-30 15:12:35 -07:00
Guangcong Luo
7165943f21 Merge pull request #1294 from Slayer95/trapping
Send 'trapped' flag in requests for pokémon that are known trapped
2014-10-30 14:17:46 +08:00
Ivo Julca
641651e19d Send 'trapped' flag in requests for pokémon that are known trapped
- Implement BattlePokemon#isLastActive to do the check for whether this is the last non-fainted active pokémon in a team.
- BattlePokemon#tryTrap now accepts an argument that, if true, will hide the fact that a pokémon is trapped.
- This should revert an small (annoying) change in the UI for locked moves introduced as a secondary effect in 8afc588e4.
- NEXT: Shadow Tag shouldn't activate the 'maybeTrapped' flag after the suspected Shadow Tagger has made a move.
2014-10-30 00:34:34 -05:00