TheImmortal
2e650d448a
Flare Boost & Toxic Boost are BP modifiers
2013-01-22 01:04:35 +04:00
Marty-D
9dc97b3940
Fix Soul Dew's boosts.
2013-01-21 16:02:16 -05:00
TheImmortal
215cd108ee
Fix Relic Song transforming Meloetta twice
...
- It incorrectly transforms twice in doubles due to being a spread hit
2013-01-22 00:45:29 +04:00
Guangcong Luo
7fa7f24a39
Refactor how stats are calculated
...
They're now read on-the-fly instead of being recalculated and cached
every update.
2013-01-21 11:49:22 -08:00
Cathy J. Fitzpatrick
6b16dd6139
Fix redirection of randomNormal target moves.
...
Previously, Follow Me (and anything else that redirects moves, such as
various abilities) was unable to redirect the target of a
'randomNormal' target move, because validTargetLoc() always returned
false for a 'randomNormal' type move; this reflects the fact that the
client is not allowed to specify the target for such a move, because it
is chosen randomly. However, the internal game logic does need to be
able to specify a target for 'randomNormal' moves.
This commit adds a new parameter to validTargetLoc that specifies whether
the proposed target was chosen by the client or by the internal game logic.
If the proposed target was chosen by the internal game logic, then the same
targeting rules apply as in the case of a "normal" target move.
Note that it is necessary to add this new parameter, rather than just making
'randomNormal' behave the same as 'normal', because without the userSelected
check, a user could send a crafted choice string to the server specifying a
target for a 'randomNormal' move, and the server would respect the choice.
This implementation correctly prevents the client from specifying the target
of a 'randomNormal' move.
2013-01-21 00:04:21 -07:00
Guangcong Luo
f1f3040aeb
Merge pull request #145 from Joimer/patch-1
...
Adding 1vs1 Challenge Cup to test via challenge
2013-01-20 06:27:09 -08:00
TheImmortal
136c78cce5
Fix error in previous scripts.js commit
2013-01-20 17:32:51 +04:00
Joim
82fd387692
Adding 1vs1 Challenge Cup to test via challenge
...
Adding wished for Challenge Cup 1 vs 1. First only available via challenge.
2013-01-20 13:01:39 +01:00
TheImmortal
e4db12341f
Update descriptions for items now obtainable
2013-01-20 01:40:27 +04:00
TheImmortal
4e5137b78a
Randbats script updates
...
- Reject Relic Song with setup
- Reject Encore/Pursuit/Stealth Rock/Sucker Punch with RestTalk
- Reject Hydro Pump with Razor Shell/Scald
- Reject Flamethrower with Blue Flare
- Reject Bonemerang/Earth Power with Earthquake
- Make Wynaut/Wobbuffet get Custap Berry 50% of the time with Destiny Bond
- Add the possibility of getting Lum Berry with Outrage
2013-01-19 21:17:03 +04:00
Marty-D
9e89524d8f
Update several move descriptions.
2013-01-18 18:48:22 -05:00
Guangcong Luo
8e3ae6bade
Merge pull request #138 from MJB47/patch-12
...
Tornadus T is now uber
2013-01-18 07:14:34 -08:00
Guangcong Luo
d7088e0c9a
Merge pull request #139 from MJB47/patch-13
...
OU suspect test is over
2013-01-18 07:14:28 -08:00
TheImmortal
94a4b0946b
Prevent CAP abilities in Hackmons/BH
2013-01-17 22:19:04 +04:00
MJB
f6774e38d8
OU suspect test is over
2013-01-17 14:53:15 +00:00
MJB
ec22951d0e
Tornadus T is now uber
2013-01-17 14:51:13 +00:00
TheImmortal
1e14d8df07
Free Jaboca Berry
2013-01-17 18:44:20 +04:00
Cathy Fitzpatrick
03d9da0d5b
Use this.effect for constant effect property.
2013-01-15 22:56:45 -07:00
Cathy Fitzpatrick
8f6313a705
This commit makes several changes to Protect and related moves in both
...
Gen 4 and Gen 5:
1) In Gen 4, the chance of protecting succeeding does not fall below
1/8, which has now been corrected in this commit. Previously, the
chance of success in Gen 4 was allowed to drop all the way to
1/(2**32) as in Gen 5.
Please see upokecenter for the correct mechanics:
http://upokecenter.dreamhosters.com/dex/?lang=en&move=182
For Protect and friends, Smogon currently says that the chance of
success does not fall below 50%, which is inconsistent both with the
current Pokemon Showdown! behaviour and with upokecenter. It is
pretty much certain that upokecenter is accurate here, since it is
based directly on the in-game data. This commit implements the
upokecenter mechanics.
2) This commit also consolidates some duplicate code with Protect and
friends by moving the miss chance logic to an event of the 'stall'
volatile called onStallMove. This allows me to remove some duplicate
code from moves.js.
3) Currently, some but not all of Protect and friends have a flag
called stallingMove set to true. This flag does not appear to be used
for anything. However, for consistency, I have set it to true for all
the "stall moves", as opposed to just a subset of them.
2013-01-15 22:33:54 -07:00
Guangcong Luo
d7b28b40ad
Fix sometimes incorrect Leech Seed message in doubles
2013-01-14 21:58:10 -08:00
Guangcong Luo
fb4f4e5f9d
Slow Start goes away when the ability changes
2013-01-14 19:18:59 -08:00
Guangcong Luo
3b69429f3f
Fix crash with Beat Up
...
(it would crash if, in doubles, a Pokemon in slot 2 that was statused
used Beat Up)
2013-01-14 19:18:59 -08:00
TheImmortal
0e25b08412
Randbats: Prevent Shed Skin + Chesto with Rest
2013-01-15 02:08:54 +04:00
TheImmortal
134910140b
Viable moves changes
2013-01-15 02:03:33 +04:00
Guangcong Luo
485446a964
Chansey's been quickbanned in UU
2013-01-13 08:08:02 -08:00
Guangcong Luo
4811087267
Screens are less effective in doubles
2013-01-12 15:22:01 -08:00
Guangcong Luo
acbeada910
Fix Magic Guard
2013-01-11 22:51:22 -08:00
Guangcong Luo
e37792dcf8
Fix bug in spread hit damage calculation
2013-01-11 17:13:00 -08:00
Guangcong Luo
f6f2d0febc
Properly fix spread hits and damage reduction
2013-01-11 16:03:51 -08:00
Guangcong Luo
4827a10931
Spread hits only get damage reduction if they spread
2013-01-11 15:57:39 -08:00
TheImmortal
65e0cebf6f
Set level before set is validated- maxLevel for LC
2013-01-11 14:03:52 +04:00
Guangcong Luo
39c33e409c
Fix the learnset checker to handle chainbreeding better
...
Specifically, Spikes + Sleep Powder Roserade is no longer legal
Also add more comments to checkLearnset
2013-01-11 01:42:47 -08:00
Guangcong Luo
dd60182a2e
Evasion Moves Clause - fix spelling
2013-01-10 20:31:58 -08:00
Guangcong Luo
ff432c40f9
Smogon Doubles doesn't have Moody Clause
2013-01-10 20:31:39 -08:00
MJB
6a0df24a40
Added Evasion abilities clause to OU current
...
This seemed to be omitted for some reason, fairly sure it should be in effect
2013-01-10 15:09:12 +00:00
Guangcong Luo
1b0f2760b2
Smogon doubles should be a rated format
2013-01-10 02:13:41 -08:00
Guangcong Luo
3598cc277d
Implement Smogon Doubles
2013-01-10 00:50:20 -08:00
TheImmortal
3b647dbdfd
Update learnset checker
2013-01-10 11:36:00 +04:00
TheImmortal
c4e8fb9632
Fix Little Cup illegalities with DW abilities
2013-01-09 19:48:45 +04:00
Marty-D
ddbd2d37c4
Fix multi-hit moves.
2013-01-08 20:23:21 -05:00
TheImmortal
31d0afce58
Viable moves updates
2013-01-09 01:21:00 +04:00
Marty-D
42ef0bb533
Fix Wide Guard.
2013-01-08 15:56:56 -05:00
TheImmortal
e8e8acbc26
Randbats: Set Snover to level 95
2013-01-08 23:43:04 +04:00
TheImmortal
b52cb1e272
Randbats: Prevent Choice Band + Rapid Spin
2013-01-08 21:05:57 +04:00
Marty-D
01906be31e
Fix Normal Gem + Explosion, Red Card / Eject Button for real.
2013-01-08 12:01:00 -05:00
TheImmortal
8878dbd9e2
Make Magic Guard block (Hi) Jump Kick recoil
...
This is a temporary fix
2013-01-07 12:39:20 +04:00
Guangcong Luo
1a9a836ad9
Fix Rollout and Ice Ball not locking when called
2013-01-05 14:33:59 -08:00
Guangcong Luo
78ab5811e9
Fix calling+rampage moves
...
(things like Assist+Outrage)
2013-01-05 13:57:12 -08:00
Guangcong Luo
d6aab03fb6
Encore no longer forces retarget in doubles
2013-01-05 13:56:39 -08:00
TheImmortal
75bd51d3c4
Randbats: Reject Hustle if no Physical moves
2013-01-05 17:24:23 +04:00
Marty-D
b0d685be1a
Imprison's effect can't be Baton Passed.
2013-01-04 18:53:47 -05:00
TheImmortal
9d44bbbd5a
Viable moves updates
2013-01-04 23:54:14 +04:00
Marty-D
46da54c7cd
Make sure Normal Gem + Explosion works.
2013-01-04 12:17:22 -05:00
TheImmortal
fe7cc0529f
Scizor event
2013-01-04 16:22:35 +04:00
TheImmortal
5ef646c5ec
Randbats: Reject Prankster if no Status moves
2013-01-04 15:23:40 +04:00
Bill Meltsner
ac6dfa5569
Fix up Evasion Clause
2013-01-04 01:12:44 -08:00
Antar1011
8d381a48af
LC UU
2013-01-02 11:07:41 -05:00
Antar1011
59ef15ff1a
Zarel does it better
2013-01-02 11:04:03 -05:00
Guangcong Luo
cdd3af07c1
Implement Safeguard preventing confusion
2013-01-02 07:59:38 -08:00
Antar1011
eb5af0cb2e
Tier Update
2013-01-02 07:50:40 -05:00
Marty-D
c101694d84
Fix Electro Ball's Base Power in Trick Room.
2013-01-01 22:07:41 -05:00
Marty-D
c64d65182d
Fix Helping Hand and Sky Drop.
...
- Helping Hand should work on an ally using two-turn moves.
- Sky Drop should fail on an ally.
2013-01-01 11:37:05 -05:00
Marty-D
2f6abbb384
Make Soundproof block Perish Song again.
2012-12-30 13:26:45 -05:00
Marty-D
8cf4bf27bc
Prevent certain Abilities from working with self-target moves.
2012-12-30 10:47:42 -05:00
Guangcong Luo
8690d373ea
The RU and Ubers suspect tests have ended
2012-12-29 23:13:51 -08:00
Guangcong Luo
ac67c8683e
OU is running a suspect test
2012-12-29 23:06:12 -08:00
Bill Meltsner
c51285ddf1
Cresselia was banned from RU
2012-12-29 19:39:51 -06:00
Bill Meltsner
7520c2342d
Fix issue where Prankster would sometimes ignore Lagging Tail
2012-12-29 12:32:10 -06:00
Marty-D
7f25f19554
Make sure Status moves can activate certain Abilities behind Subs.
2012-12-29 00:07:33 -05:00
Marty-D
ecbc9bfd62
Fix certain Abilities activating behind Protect.
2012-12-29 00:04:13 -05:00
V4Victini
54dd6ff01b
Fix GK/LK
...
Should be >= as opposed to >
2012-12-28 12:01:27 -05:00
TheImmortal
dc29863351
Use Sheer Force counter for Serene Grace as well
2012-12-28 00:09:05 +04:00
TheImmortal
c4bd36e636
Update Swampert viable moves
2012-12-28 00:06:26 +04:00
Marty-D
462714ab60
Randbats: Removed Thunder Wave from Gyarados.
2012-12-26 21:35:13 -05:00
Bill Meltsner
7239af8dd2
Fix Giratina being allowed in VGC
2012-12-24 12:27:11 -06:00
Bill Meltsner
0296f36912
Actually, this is better
2012-12-23 12:29:17 -06:00
Bill Meltsner
cbdbdcf1be
Fix Solid Rock and Filter affecting both Pokemon on a side in Doubles.
2012-12-23 12:18:10 -06:00
Bill Meltsner
ab66c890f8
Ubers has unbanned Evasion Clause.
2012-12-23 00:40:01 -06:00
Marty-D
c195611628
Fix the 1/3 recoil moves.
2012-12-22 15:27:31 -05:00
TheImmortal
21104cdcf0
Missing DW moves
2012-12-22 13:02:25 +04:00
TheImmortal
5b6cccf0bd
Viable moves changes
2012-12-22 12:59:45 +04:00
Marty-D
703a95fd3a
Fix Outrage + Protect.
2012-12-19 20:33:48 -05:00
Guangcong Luo
f3b546b5ab
Fixes to gen 3 formats
2012-12-18 23:41:17 -08:00
Christopher Monsanto
fb6a75e3a3
Relados gen3 support.
2012-12-19 01:18:06 -05:00
MJB
ccb87ef5da
Added Dig to colosoils moveset
...
Apparently this was left out due to an error.
2012-12-18 23:52:12 +00:00
TheImmortal
c53f4f821b
Deoxys and Gothorita events
2012-12-17 20:29:25 +04:00
Guangcong Luo
f30c801ffd
Corrections to two-turn moves' accuracy modification
2012-12-17 06:26:28 -08:00
Guangcong Luo
94ab0f9d91
Make evasion abilities work correctly in doubles
2012-12-16 16:57:10 -08:00
Guangcong Luo
821ef0aed8
Some fixes to accuracy calculation
2012-12-16 11:42:56 -08:00
Guangcong Luo
26a6a78af2
Doubles is actually surprisingly stable
2012-12-15 06:44:30 -08:00
Guangcong Luo
cd6f216d7c
Doubles Challenge Cup
2012-12-15 04:51:12 -08:00
Guangcong Luo
8a15fbe5cd
Implement Damp
2012-12-14 14:44:55 -08:00
Guangcong Luo
7dbe93dcf2
Implement Snatch
2012-12-14 14:44:55 -08:00
Guangcong Luo
87cd851adf
Seasonal ladder: nerf Victini
2012-12-14 14:44:55 -08:00
Guangcong Luo
7ed88a77a3
New seasonal ladder: Winter Wonderland
2012-12-14 14:44:55 -08:00
Guangcong Luo
bd6106f296
Custap Berry is released
2012-12-14 14:44:54 -08:00
TheImmortal
9d79dd7b3c
Ban Keldeo-R from VGC
2012-12-14 19:26:50 +04:00
Marty-D
57e55bfee9
Fix Custap Berry to be like Quick Claw.
2012-12-14 10:20:44 -05:00
Guangcong Luo
8d5f2884ca
Fix Baton Pass circumventing Natural Cure and Regenerator
2012-12-14 06:57:13 -08:00
Guangcong Luo
9d3582fbcf
Better error messages for Species/Item Clause
2012-12-14 06:56:15 -08:00