Commit Graph

3760 Commits

Author SHA1 Message Date
The Immortal
62c8d78b8e Random Battle updates
Closes #2603
2016-07-13 00:53:27 +04:00
Marty-D
db9f18dced Add new events 2016-07-11 20:43:20 -04:00
asgdf
92dd3cb57d Replace confusing variable name (#2619)
A variable named "pokemonLeft" should probably not be increasing. Since
it's effectively referring to the current size of the team, might as well
use Array.length.
2016-07-11 18:29:50 -05:00
The Immortal
83deebdcd0 Move Machoke to BL4 2016-07-11 23:39:29 +04:00
asgdf
c695a33a97 Make 5 mon monotype randbats teams way less likely (#2611)
Due to the "each type combination only once" restriction, Normal-type
teams had a ~0.1% chance of having only 5 members, as most of its type
combinations are only used by a single mon which could easily be skipped
due to tier restrictions or bad luck.
The types were also not sorted before filtering, so it was entirely
possible to have Fighting/Psychic and Psychic/Fighting on the same team.
So, this sorts before filtering, but raises the limit to 2 of each
combination per team, which hasn't yielded any 5 mon teams across 10000
generated teams.
2016-07-09 20:38:20 +04:00
Marty-D
86417a7df9 Fix Ability boosting when maxed out 2016-07-09 12:17:38 -04:00
The Immortal
e17527180e Random Battle: Prevent Draco Meteor with Outrage 2016-07-08 22:12:58 +04:00
Marty-D
73a74f85ad Add Burmy aliases 2016-07-08 10:01:29 -04:00
Marty-D
a99bd01cf3 Refactor boosting
- Boosts now show the correct boosting message (i.e. using Swords Dance
at +5 Attack will show the +1 message instead of +2).
- Boosts now show the appropriate maxed out message when a stat cannot
be raised/lowered further, instead of simply failing or failing
silently, unless the boost is an additional effect.
2016-07-06 11:28:06 -04:00
UserLeafy
7a9fe61a1c Add Ampharos and gyarados alias (#2609)
* Add Ampharos and gyarados alias
2016-07-06 16:29:25 +04:00
The Immortal
68bc01335c Random Doubles: Remove Rock Polish from Landorus 2016-07-05 00:35:51 +04:00
Kevin Lau
485fe73dea Random Battle: Add Rock Slide to Landorus-I (#2604)
With balanced EVs, Landorus can still use its Physical movepool for
coverage thanks to its respectable base Attack, and Rock Slide is a
Rock-type move boosted by Sheer Force.
2016-07-05 00:34:25 +04:00
Juanma Serrano
e1d8459dc4 Seasonal: Fix typos 2016-07-03 12:34:09 +02:00
Juanma Serrano
b647742cdf Seasonal: Use learnset if no random moves set found 2016-07-03 11:00:22 +02:00
Kevin Lau
2df9f27b9f Implement July Seasonal: Fireworks Frenzy (#2602)
Sky Battle with Fire-type "hail" in the form of fireworks sparks.
2016-07-03 01:44:49 -07:00
Marty-D
fc0b2f6d14 Prepare for Terrain-starting Abilities 2016-07-02 14:41:09 -04:00
Marty-D
420a3cf2a0 Add new events 2016-07-02 09:33:53 -04:00
Marty-D
af7ffabecd Add Damp message 2016-07-01 22:38:20 -04:00
Marty-D
568198a78e Remove unneeded variables from Psych Up/Topsy-Turvy 2016-06-29 21:24:38 -04:00
Marty-D
1527fdbd8f Update some move failure conditions 2016-06-29 14:46:21 -04:00
Marty-D
9fcf474127 Fix Round
- Should change turn order for later users whether or not the move is successful
2016-06-28 20:14:59 -04:00
Marty-D
f112f878b8 Refactor Gravity to use flags 2016-06-28 19:16:47 -04:00
Marty-D
4f5cdb92a9 Refactor Heal Block to use flags 2016-06-28 17:41:41 -04:00
Guangcong Luo
21a742a591 Add hint clarifying no-PP message
We've gotten way too many "bug reports" about it.
2016-06-26 22:41:05 -07:00
The Immortal
2e42e97e4f Random Battle: Improve Water-type Pokemon 2016-06-26 05:31:48 +04:00
Jay
58b67dfbc0 Add Expert Belt alias (#2595) 2016-06-23 17:22:34 -07:00
Marty-D
3acbe0a357 Fix Transform interaction with certain Abilities
- Multitype and Stance Change can be overwritten by Transforming
- The above two and Illusion can be obtained by Transforming
- Fix Stance Change and Zen Mode while Transformed
2016-06-23 17:07:12 -04:00
Marty-D
98667e8dd5 Correct Wonder Guard message
- Also remove its very unnecessary reimplementation in `futuremove`
2016-06-23 14:34:50 -04:00
Marty-D
d8e4fe8486 Display allies and statuses cured by Aromatherapy/Heal Bell
- Except prior to Gen 5
2016-06-22 11:35:10 -04:00
Marty-D
7dc7dd112d Fix Sky Drop bugs
- Sky Drop doesn't check accuracy on the first turn
- Should Sky Drop miss on the second turn, the effect ends immediately for the user and target
2016-06-22 10:31:50 -04:00
Ivo Julca
dcd97ce62b Fix spreading of typing information 2016-06-20 12:27:24 -05:00
Ivo Julca
f095ac4fea Implement Curse targetting glitch 2016-06-20 11:57:23 -05:00
Ivo Julca
ec572891a5 Fix typing information leak 2016-06-20 11:38:06 -05:00
urkerab
4c543d8c28 Fix Protean interaction with bounced moves (#2593) 2016-06-19 17:12:42 -04:00
Ivo Julca
2215696664 Fix syntax error from de04698 2016-06-18 21:20:25 -05:00
Marty-D
39ec46022c Fix Own Tempo interaction with Flatter and Swagger
- Also prevent its activation unless the move actually hits.
2016-06-18 22:12:53 -04:00
The Immortal
de04698b7f 80d27e1: Use find instead of filter
And remove unneeded parentheses from df66184.
2016-06-19 01:13:11 +04:00
The Immortal
80d27e1276 Random Battle improvements 2016-06-19 00:33:53 +04:00
Marty-D
eb91d21278 Add event Gardevoir 2016-06-18 10:21:02 -04:00
Kevin Lau
e3ef19dadd Seasonal: Pass custom move sets into randomSet when generating teams (#2591)
This fixes issues like getting Choice items on Pokemon with setup moves.
2016-06-17 17:44:21 +02:00
urkerab
2b95a4eb10 Fix ability activation for Oblivious, Overcoat and Own Tempo (#2589) 2016-06-17 11:40:44 -04:00
Ivo Julca
9b73eae8b7 Imprison should not hide targetable disabled moves 2016-06-17 10:00:48 -05:00
urkerab
69012290e3 Remove unnecessary format parameter to randomTeam (#2590) 2016-06-17 12:25:37 +04:00
Kevin Lau
df66184dad Random Battle: Reject Hidden Power with Rest (#2585)
Affects Roserade, since if it has Rest it prefers Natural Cure over
Technician as an ability and thus Hidden Power will be too weak.
2016-06-16 05:02:08 +04:00
The Immortal
f635f0c431 Ban Alakazam from UU 2016-06-13 23:26:20 +04:00
Marty-D
5ec02741ff Fix partial-trapping persistence
- Previously, the user could switch out and come back in during the same
turn and have the effect continue.
2016-06-12 14:52:38 -04:00
The Immortal
4bf089e854 Fix Destiny Bond interaction with Pursuit 2016-06-09 22:22:33 +04:00
Marty-D
5612d223de Fix type-resist Berries' interaction with substitutes
Plus add weakening message
2016-06-09 11:32:26 -04:00
Marty-D
099395890f Fix Refresh 2016-06-09 11:20:07 -04:00
The Immortal
2bd0e9b9c1 Add new RU bans 2016-06-08 22:08:35 +04:00