Commit Graph

2945 Commits

Author SHA1 Message Date
Marty-D
1a6e62ef7b Fix Pickpocket 2015-04-05 10:55:02 -04:00
Marty-D
dfbf0daf27 Use gravity flag for Gravity
Pending a ModifyPokemon refactor, the disabling part can keep its list.
2015-04-04 20:28:25 -04:00
The Immortal
1c9fb89988 Remove isTwoTurnMove property and use charge flag 2015-04-05 03:27:32 +04:00
Guangcong Luo
77b232ec25 Fix Substitute blocking foeSide moves
TryPrimaryHit, originally created for Substitute, is currently
being used for Substitute, gems, and auras. Neither of these
should affect all, foeSide, and allySide moves, so the event no
longer fires in these cases.

Included: Bonus: unit test for Substitute not blocking Stealth Rock
2015-04-03 22:48:24 -04:00
Rhythms
f05af24486 Seasonal: Capitalize Bean 2015-04-03 19:13:31 -06:00
Kevin Lau
8b72057c18 Random Double Battle: Remove Blizzard from Articuno 2015-04-03 16:13:23 -07:00
The Immortal
7e9c1030ec Remove notSubBlocked move property
Use the authentic flag instead. Also combined the Infiltrator properties
into one.
2015-04-04 01:22:21 +04:00
Marty-D
815f9d8689 Remove thawsUser move property 2015-04-03 15:39:46 -04:00
The Immortal
70c780f96a Remove isNotProtectable move property
Use flags instead.
2015-04-03 22:07:50 +04:00
The Immortal
ea888ae7d5 Fix Mist
Infiltrator does not bypass Mist on the same side in Doubles. Fixed the
message showing multiple times.
2015-04-03 21:11:58 +04:00
Marty-D
a698ed2315 Ensure Toxic Spikes does not activate Synchronize 2015-04-03 12:19:11 -04:00
The Immortal
633bd55d4b Fix Safeguard in Doubles
Infiltrator does not bypass Safeguard on the same side. Removed
hardcoded Toxic Spikes as well.
2015-04-03 19:54:07 +04:00
Antar1011
a7ea2b485e Quick Rises for April
http://www.smogon.com/forums/threads/smogon-usage-based-tier-update-february-2015-see-post-151-for-march-quick-rises-drops.3528836/page-9#post-6143504
2015-04-03 10:29:50 -04:00
Marty-D
8c3765fb3e Merge pull request #1712 from Marty-D/master
Fix thaw mechanics in all gens
2015-04-03 09:47:27 -04:00
Marty-D
3742d84f34 Fix thaw mechanics in all gens
- Gen 5-6: Thaw check is skipped when using a self-thaw move
- Gen 3-4: Thaw check happens before a move is used
- Gen 2: Self-thawing does not happen if the move misses
2015-04-03 09:42:08 -04:00
The Immortal
a706b5601c Update Random Battle level scale 2015-04-03 17:14:22 +04:00
The Immortal
d4a22bb1e6 Remove isContact property from moves
Use flags instead.
2015-04-03 16:59:53 +04:00
Cranham
64939bf3ad Random battles: Reject ice beam & freeze dry together
Seems a bit redundant to have both together. affects articuno and lapras
2015-04-03 02:11:56 +01:00
The Immortal
844bad67cd Merge pull request #1709 from ascriptmaster/protocol
Fix Leppa Berry protocol message
2015-04-02 23:47:58 +04:00
The Immortal
e56eea5d15 Forgot to remove the clause 2015-04-02 16:10:24 +04:00
The Immortal
08f108aefd Random Battle: Merge Rain Dance and Sunny Day checks 2015-04-02 15:24:48 +04:00
Kevin Lau
b0e7711685 Fix Leppa Berry protocol message
Apparently the move data that stores PP doesn't have a "name" property.
2015-04-01 23:09:02 -07:00
Kevin Lau
703399bc8b Random Battle: Split Castform into Sunny and Rainy Formes
Also implement fix for Meloetta starting out in Pirouette Forme in Random
Doubles Battles.
2015-04-01 17:42:47 -07:00
Juanma Serrano
c1210f33ff Implement OMotD contender, Mr Bones Wild Ride 2015-04-01 17:16:50 +02:00
Juanma Serrano
cf1785cb83 Update Final Destination
Proper wording for clause.
Critical hits are removed, they are uncompetitive.
2015-04-01 10:23:26 +02:00
Juanma Serrano
29b13451b6 Implement OM of the Decade
Disregard puny OM of the Month thing. That's for losers anyway.
From now on, the strongest and best OM is going to be added as the OM of the Decaed.
It will only be changed when a strongest OM appears and beats it off.
Right now, with no contender really, that OM is Final Destination. Any other OMs just pale in comparison.
2015-04-01 10:00:11 +02:00
Quinton Lee
5180adac40 Fix error from a0fb03cc91 2015-03-31 22:04:38 -05:00
Ivo Julca
a0fb03cc91 Make randomMonotypeTeam deterministic 2015-03-31 21:01:18 -05:00
Marty-D
659aae282e Merge pull request #1705 from ascriptmaster/move-fixes
Send -end message when Flash Fire volatile disappears
2015-03-31 19:54:04 -04:00
Kevin Lau
4ca5d7a676 Send -end message when Flash Fire volatile disappears
Relevant for when the Pokemon with an active Flash Fire boost has its
ability changed or suppressed.
2015-03-31 16:18:07 -07:00
Marty-D
2382aece33 Merge pull request #1695 from ascriptmaster/move-fixes
Change Slow Start to listen to End events
2015-03-31 15:05:27 -04:00
Kevin Lau
ca2aade9ec Change Slow Start to listen to End events 2015-03-31 11:51:25 -07:00
The Immortal
42d7af1489 Update format aliases 2015-03-31 19:27:34 +04:00
The Immortal
20b1b00f4c Random Battle: Reject Flame Charge without enough attacking moves
This fixes #1704 to give Ho-Oh, and other Pokemon with Flame Charge,
better sets.
2015-03-31 19:16:20 +04:00
Juanma Serrano
17be3943c8 Implement Monotype Random Battle challenge option
The long awaited Random Battle format of one of the most acclaimed OM is finally here.
2015-03-31 15:55:49 +02:00
The Immortal
c7aa6d108f Add event Amaura 2015-03-31 16:39:21 +04:00
Kevin Lau
a3294ebe59 Add new aliases for Heracross and Mega Heracross
Hera = Heracross, Mega Hera and Mega Cross = Mega Heracross
2015-03-31 00:57:51 -07:00
Konrad Borowski
a9c2ed2262 Reject Fire Blast with Fire Punch
There is no reason for Flygon to run both, and having two fire moves 
restricts Flygon a bit.
2015-03-30 17:09:17 +02:00
The Immortal
e63a5016cb Fix Spiky-eared Pichu being legal 2015-03-30 16:35:12 +04:00
Juanma Serrano
059d99838a Super Staff Bros.: Buff Beowulf slightly
Fix typo on EVs and give back 10% flinch chance as well as some BP
2015-03-30 11:25:07 +02:00
Juanma Serrano
1b679d63aa Super Staff. Bros: Implement Articuno 2015-03-30 11:11:12 +02:00
Juanma Serrano
3a8f98b3ca Super Staff. Bros: Buff Lyto
Too weak on the current meta, removed debuffs and made it Modest.
2015-03-30 11:01:39 +02:00
Juanma Serrano
7d4b4208fb Super Staff. Bros: Implement Crestfall 2015-03-30 11:00:27 +02:00
The Immortal
61eb39a5a1 Merge pull request #1690 from ascriptmaster/randoms
Random Battle: Update Cradily, Cacturne
2015-03-30 01:14:54 +04:00
Kevin Lau
a5bb313a74 Random Battle: Update Cradily, Cacturne
Reject Seed Bomb with Giga Drain.

Switch Cacturne's Doubles set to fully Physical.
2015-03-29 14:13:13 -07:00
The Immortal
571c7653a4 Improve ability ratings 2015-03-29 16:01:00 +04:00
Kevin Lau
9f25d18169 Fix ModifyBoost crashes
ModifyBoost events called for accuracy and evasion were sending the wrong
object as the relay variable.
2015-03-28 17:37:20 -07:00
The Immortal
5949294b78 Use hasItem in Arena Trap 2015-03-29 04:00:51 +04:00
Guangcong Luo
94cff26636 Merge pull request #1687 from ascriptmaster/modifypokemon
Arena Trap Typo Fix
2015-03-28 18:54:18 -05:00
Guangcong Luo
603f9b8141 Merge pull request #1685 from ascriptmaster/move-fixes
Make sure the flags object always exists in moveData
2015-03-28 18:47:26 -05:00