Commit Graph

1702 Commits

Author SHA1 Message Date
Juanma Serrano
e4afb28c8f Random Battles: Limit status on tn the same moveset
One moveset should only have one status.
Priority is as follows:
Sleep is the most important. Next comes paralysis, then burn, then toxic.
2014-02-11 14:07:52 +01:00
Juanma Serrano
2eb6f96d31 Update viable doubles moves 2014-02-11 11:31:15 +01:00
Guangcong Luo
ab070f9457 Merge pull request #627 from Slayer95/patch-5
Megastones boost Knock Off if held by the wrong mon
2014-02-10 23:56:22 -06:00
Relados
fa00e44628 Making Mega Mawile start with Intimidate
Forcing a Mawile with the Mawilite to have Intimidate rather than Sheer Force
2014-02-10 19:56:24 -06:00
Slayer95
035f655933 Megastones boost Knock Off if held by the wrong mon 2014-02-10 20:42:34 -05:00
TalkTakesTime
cadf916bae Correct Plates and Drives in Knock Off 2014-02-11 14:19:00 +13:00
TalkTakesTime
ca8673133d Fix Knock Off interaction with unremovable items 2014-02-11 13:56:53 +13:00
Juanma Serrano
881da21e20 Merge branch 'master' of http://github.com/Zarel/Pokemon-Showdown 2014-02-10 14:55:53 +01:00
Juanma Serrano
485586fa1c Add some viable doubles moves 2014-02-10 14:55:14 +01:00
The Immortal
974e976ac9 Add Arceus-Fairy to Arceus' otherFormes 2014-02-10 17:54:33 +04:00
Juanma Serrano
5f6f82eaf9 Random Doubles Battle: Add an EV allocation fallback 2014-02-10 14:45:51 +01:00
Juanma Serrano
99e9b8cece Random Doubles battle: Allocate EVs properly 2014-02-10 14:41:57 +01:00
Juanma Serrano
43a5be411c Implement Random Doubles Battle
This commit implements the Random Doubles Battle format,
a format awaited by hundreds of players.
This first version uses singles viable moves for the movepool
while Doubles team works on the project of gathering viable
moves for all Doubles Pokémon.

The team maker and set maker are slightly different,
choosing items and abilities more useful in doubles, capitalising
less on tiering and more on BST, and changing move priorities.

This is a first version that should be kept updated with new
and better mechanics for its own Team Making algorithms.
2014-02-10 14:28:16 +01:00
Tyler Stark
bff353cc58 Second Pass at cleaning up the code. These are pretty safe edits that include adding 0 to decimal values, fixing variables that are declared multiple times, and removing duplicate keys 2014-02-09 23:38:57 -06:00
Tyler Stark
afb3dc0c09 First pass at code quality: adding semicolons. 2014-02-09 20:35:42 -06:00
Guangcong Luo
114b54cbd1 Fix Fairy Lock
(Fails when used twice in a row)
2014-02-09 16:32:50 -05:00
Guangcong Luo
147b7cf5ef Implement Fairy Lock 2014-02-09 16:20:10 -05:00
Slayer95
b7a0fba646 Fix Reflect Type 2014-02-08 12:19:38 -05:00
Guangcong Luo
62d1f0ddab Merge pull request #612 from V4Victini/ally-switch
Implement Ally Switch
2014-02-07 20:01:20 -06:00
Ivo Julca
85c07aac83 Fixes for Arceus typing
Fix Arceus overriding Trick-or-Treat and Forest´s Curse.
Implement Arceus typing more reliably by setting it when it switches into the field.
Display fail messages when trying to modify Arceus´ first type by any means.
Also fix mons keeping their typing when changing to another forme.
2014-02-07 19:39:18 -05:00
V4Victini
5c7d79212b Implement Ally Switch 2014-02-07 16:57:50 -05:00
Ivo Julca
79593705aa Fix Arceus typing
Also use ´setType´ in Gen5´s Camouflage
2014-02-06 22:46:04 -05:00
Guangcong Luo
f322fcfbeb Fix syntax error in 61f9afebdd 2014-02-06 16:54:16 -08:00
The Immortal
61f9afebdd Add new events + randbats moves changes 2014-02-07 02:17:32 +04:00
Joimer
cc3896852b Add more Pokemon to BL
Wobbuffet, Staraptor, and Terrakion are all BL now.
2014-02-06 07:46:02 +01:00
Ivo Julca
0ce0befa95 Improve type change
Change back pokemon.types to a pointer to the types in the dex entry.
A typeless mon now defaults to ??? rather than undefined in pokemon.getTypes()
Implement methods pokemon.setType and pokemon.addType
'setType' accepts as parameters any amount of types, with the default attributes.
'addType' accepts as parameter a single type, which will have the flag 'isAdded'.
2014-02-05 21:39:22 -05:00
Guangcong Luo
e007c38ce2 Merge pull request #604 from Slayer95/typechange
Fixes for type change
2014-02-05 14:13:05 -06:00
Juanma Serrano
ec192afcd3 Fix crash in Parental Bond 2014-02-05 17:18:51 +01:00
V4Victini
87e4704200 Defog does not remove the user's screens 2014-02-04 22:07:07 -08:00
Juanma Serrano
f0cd13fbbd Deoxys-D and Scolipede are BL now 2014-02-04 11:01:06 +01:00
Juanma Serrano
35778f5a2a Fix Destiny Bond interaction with fwith future moves
Future moves were making both the user of them and
the Pokémon in the field to faint if the opponent used Destiny Bond
that turn.
Fix this by adding a property to future moves and making Destiny Bond
check it, since Destiny Bond does not work with future moves at all.
2014-02-04 10:58:30 +01:00
Antar1011
a50d9b81bb Kangaskhan also dropped to UU
Whoops! I meant "Limbo A"
2014-02-03 05:49:41 -05:00
Antar1011
4b25de4521 Kangaskhan also dropped to UU
Missed it before.
2014-02-03 05:48:53 -05:00
Guangcong Luo
dc811e4e42 Landorus to BL 2014-02-03 00:58:43 -05:00
Guangcong Luo
096604d079 Remove superfluous validateSet in Endless Battle Clause 2014-02-02 20:21:54 -05:00
Hugendugen
71ceeb7eb7 Additional ban as part of Endless Battle Clause
banned Shadow Tag + Leppa Berry + Trick
2014-02-03 01:22:56 +01:00
Antar1011
b8083b6965 New UU banlist
http://www.smogon.com/forums/threads/xy-uu-beta-discussion-read-post-32.3497124/page-18#post-5206210
2014-02-02 14:11:47 -05:00
Slayer95
cda8e99d6c Display correct message when aborting Focus Punch 2014-02-01 19:14:04 -05:00
Ivo Julca
0150143408 Fixes for type change
Fixes Trick-or-Treat and Forest´s Curse stacking.
Fixes Roost overriding other type changes when it ends.
Fixes Roost not suppressing Flying type adquired afterwards in the turn.
Fixes mons not adquiring Flying type when transforming into a roosted pokemon.
Fixes nature of types (added by Trick-or-Treat or Forest´s Curse) not being passed on use of Reflect Type or Transform.
2014-02-01 19:05:28 -05:00
V4Victini
927adfbc1c Properly implement Ion Deluge 2014-02-01 17:43:04 -05:00
TalkTakesTime
cc9d0b2711 Fix randbats allowing sets with no damaging moves 2014-01-31 22:36:36 +13:00
Relados
47f8737796 Fixing typo 2014-01-30 12:34:00 -06:00
Relados
536c5b6840 Adding deoxys form aliases 2014-01-30 12:31:12 -06:00
Juanma Serrano
932e6c9265 Fix Feint
Feint had the wrong property to pass through Protect
rather than to break it.
2014-01-30 17:58:42 +01:00
Juanma Serrano
fe2cf0e602 Update descriptions for Quick Guard and Wide Guard with gen 6 mechanics 2014-01-30 16:36:58 +01:00
Juanma Serrano
c00e274e0f Implement new Seasonal, Fabulous Febrruary 2014-01-30 14:26:33 +01:00
Guangcong Luo
3956ac4345 Merge pull request #600 from TalkTakesTime/patch-2
Fix Weakness Policy activating on fixed damage moves
2014-01-29 20:41:15 -08:00
Juanma Serrano
43c53c18b4 Fix crash in Anticipation 2014-01-29 16:40:43 +01:00
TalkTakesTime
9d5a19a4ae Fix Weakness Policy activating on fixed damage moves 2014-01-29 23:36:59 +13:00
Guangcong Luo
d9a077a62e Fix some stray bugs with move redirection 2014-01-28 20:16:10 -08:00