Commit Graph

1718 Commits

Author SHA1 Message Date
V4Victini
729ed8d021 Hardcode Fake Out exception
for King's Shield and Spiky Shield, we'll find a better way to do this later.
2014-02-15 16:40:56 -05:00
V4Victini
3804c5bc31 Merge pull request #642 from Audiosurfer/patch-1
doubles moveset update
2014-02-15 15:10:20 -05:00
The Immortal
bad541a276 Revert previous change
Apparently Rotom doesn't need the moves
2014-02-15 22:47:49 +04:00
The Immortal
2c1cb9cd1c Rotom formes require their special move 2014-02-15 15:46:08 +04:00
Ivo Julca
6b28305f25 Indent with tabs in type charts 2014-02-14 20:18:35 -05:00
Quinella
7192f8e555 Remove 'legal' banlist; no longer needed 2014-02-14 19:43:56 +01:00
The Immortal
cf6a365e6e Harvest shouldn't activate if the Pokemon faints 2014-02-14 11:57:39 +04:00
V4Victini
1009bd789e Update scripts.js 2014-02-12 23:10:41 -05:00
Audiosurfer
9b83f29799 dubs update 1.1
fixed some minor flaws in first set of changes
2014-02-12 21:33:17 -06:00
V4Victini
faafc592a4 Remove redundancy in moveKeys
If any of the following moves are in the list of viable moves already, do not add Protect to the list.
- Protect
- Detect
- King's Shield
- Spiky Shield
2014-02-12 22:32:43 -05:00
Audiosurfer
644d8855cd Update formats-data.js
started adding some moves for dubs randbats
2014-02-12 21:20:05 -06:00
Joimer
b723a3c5c8 Fix possible bug in Random Doubles Battles team maker 2014-02-12 20:18:31 +01:00
Quinella
fcf4963d8f Ally Switch: client requires the move in order to show the swap message 2014-02-12 13:34:02 +01:00
Guangcong Luo
a7210375e5 Merge pull request #610 from Slayer95/belch
Belch: eating any berry allows its use forever
2014-02-11 19:02:23 -06:00
Ivo Julca
e881192d0d Support moves in /effectiveness
Includes proper calculations for Freeze Dry and Flying Press.
Moves with fixed damage report 1x effectiveness.
2014-02-11 18:50:23 -05:00
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
Ivo Julca
dd2f623e4b Belch: eating any berry allows its use forever
Including the effects of Pluck, Bug Bite and Fling
2014-02-06 21:06:15 -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