Commit Graph

885 Commits

Author SHA1 Message Date
Kevin Lau
3de25827cb Random Battle: Reject Tinted Lens without variable-damage attacks 2016-01-11 21:37:24 -08:00
The Immortal
8e868eba9d CC: Fix Rotom formes and Pumpkaboo-Super 2016-01-11 19:10:50 +04:00
The Immortal
7b2c60c536 Random Battle: Prevent Trick with Sucker Punch
Affects Zoroark.
2016-01-11 09:17:44 +04:00
Kevin Lau
17bbc24027 Seasonal: Reduce number of Pokemon 4x weak to Ice 2016-01-05 20:28:53 -08:00
Kevin Lau
f8e881a416 Implement January Seasonal, Polar Opposites
Mono-Ice, Inverse Battles.
2016-01-04 14:17:51 -08:00
Guangcong Luo
78db0952e8 Fix bug with formes in random battles 2016-01-04 12:37:36 -05:00
Konrad Borowski
81f602b8d8 Always use trailing comma for multiline objects 2016-01-01 00:20:07 +01:00
The Immortal
6eabca8b25 Random Battle improvements 2015-12-31 21:10:09 +04:00
Guangcong Luo
1f750fead0 Remove forme name from default nickname 2015-12-30 22:11:46 -05:00
The Immortal
4a48d8c398 Random Battle: Fix Rest/Sleep Talk sets 2015-12-30 19:52:34 +04:00
The Immortal
c85d1c038b Random Battle: Improve Snorlax and Swellow 2015-12-29 22:40:57 +04:00
Marty-D
17009c4a7b Challenge Cup: Fix item generation 2015-12-29 11:52:28 -05:00
The Immortal
1b2dfac818 Random Battle changes
- Fix the teamDetails changes from f26a418
- More RestTalk improvements
- Don’t count Sand in type combo limit
2015-12-25 13:38:20 +04:00
The Immortal
f26a418ea3 Random Battle updates 2015-12-25 04:05:43 +04:00
The Immortal
a8951205ec Random Battle: Prevent Sleep Talk without Rest
More strictly than previously.
2015-12-22 21:39:25 +04:00
Kevin Lau
8d25d46f43 Random Battle: Favor Poison Jab over Sludge Wave on Seviper
Because of how moves are generated when a Pokemon has a setup move in its
move list, Seviper has a high chance of getting bad sets if Poison Jab is
rejected and Coil is added to its moves.
2015-12-21 01:15:34 -08:00
The Immortal
ce41ed8435 Random Battle updates 2015-12-18 03:09:47 +04:00
The Immortal
2de41c569f Random Battle updates 2015-12-15 21:35:52 +04:00
The Immortal
583fc9b483 Random Battle: Fix AG check
The original check didn’t do anything because Megas are selected in
randomSet and not in randomTeam.
2015-12-15 01:23:31 +04:00
Marty-D
2e83e276ef Fix minimum recoil damage properly
- Recoil damage is always minimum 1
- Gen 5 is the only exception: if the move dealt 0 damage, no recoil
occurs
2015-12-13 23:17:49 -05:00
The Immortal
cbbb792310 Random Battle updates
- Add a counter for draining moves; give Pokemon Life Orb with
Substitute if they have a draining move
- Do not Reject U-turn on Mega Beedrill
- Prevent Focus Sash on lead Pokemon that have a recovery move
- Increase the level of non-setup Slurpuff
- Remove AG Pokemon from Random Battle
2015-12-13 01:34:37 +04:00
The Immortal
bcf0fed850 Ban Shadow Tag from OU
And remove the unneeded bans in UU and Tier Shift, as well as update
Random Battle levels.
2015-12-12 05:53:13 +04:00
Kevin Lau
e322393d9e Revert "Random Battle: Fix dual STAB for Psychic-type Pokemon" 2015-12-10 13:08:25 -08:00
The Immortal
affe8c9be6 Merge pull request #2314 from ascriptmaster/randoms
Random Battle: Fix dual STAB for Psychic-type Pokemon
2015-12-11 00:40:44 +04:00
Kevin Lau
6b92afafdf Random Battle: Fix dual STAB for Psychic-type Pokemon 2015-12-10 12:10:05 -08:00
The Immortal
48f9f97375 Random Battle improvements
- Reject Sucker Punch if you have more than one Dark attack and Dark
isn’t one of your types
- Improve Adaptability check (fixes #2312)
2015-12-11 00:05:57 +04:00
The Immortal
e48ac8338b Random Battle updates
- Improve Ice types
- Remove check for moves in the pool (affects Darkrai requiring Dark
Void)
2015-12-09 22:50:39 +04:00
The Immortal
850789247d Random Battle: Improve Electric types
Electric types should always have an Electric attack.
2015-12-07 18:55:50 +04:00
The Immortal
8da6d39a9f Random Battle: Fix several checks
And prevent Night Shade with two other attacks.
2015-12-07 04:12:24 +04:00
The Immortal
a6d06116ff Random Battle: Keep track of the available moves
Previously, it only did so if the set had a setup move. This fixes a
bug introduced in the last commit, as well as checks that used these
counters.
2015-12-07 03:31:51 +04:00
The Immortal
4cfed633b4 Random Battle updates
- Do not reject attacking moves if they are none in the pool; no STAB
is better than a messed up set
- Set HP to activate Sitrus Berry after two subs
- Fixes #2306
2015-12-07 03:15:02 +04:00
The Immortal
2624c9fe51 Random Battle: Some setup improvements
- Reject Growth without Sunny Day
- Don’t count speed setup as a setup move if the Pokemon has a setup
move (fixes Landorus-T)
2015-12-06 20:32:24 +04:00
The Immortal
6fdb6a21eb Random Battle: Limit EVs to 85 2015-12-05 19:06:17 +04:00
The Immortal
6729fa0c80 Random Battle: Fix Mega Gardevoir 2015-12-05 01:07:49 +04:00
The Immortal
25344c2e24 December tier changes
- Megas tiered separately
- Remove custom Random Battle levels for Megas without stones
2015-12-05 00:20:22 +04:00
The Immortal
34fd61e1f3 Random Battle updates
- Fix Mega Lucario with only Bullet Punch as STAB
- Make sure dual typed Dark Pokemon have a reliable STAB
- Make sure dual typed Psychic Pokemon have a second STAB
- Only reject moves if there are moves in the pool to replace it
2015-12-04 15:32:33 +04:00
The Immortal
33e7e3c9fa Random Battle: Prevent Choice Band Dragon Tail 2015-12-04 02:17:11 +04:00
The Immortal
ddf2e27a4b Random Battle: Improve Healing Wish sets 2015-12-02 19:17:14 +04:00
The Immortal
758da01ccc Random Battle: Few improvements
- Fire types always get a Fire move
- Smeargle gets Focus Sash
2015-12-02 01:07:48 +04:00
The Immortal
29bfbd89f2 Update OMotM
Still have to code the second OMotM, but put the first one up, and
removed old seasonal.
2015-12-01 16:50:23 +04:00
The Immortal
cf89ca7bf6 Random Battle updates
-  Add Earth Power to Arceus-Dragon as it only has two Special moves
(which results in bad sets because of Calm Mind)
- Increment the correct type counter for Judgment
- Make sure Dragon types have a Dragon move, in certain circumstances
- Fix the “Pokemon should have benefiting moves” check to reject the
right moves (such as rejecting the 2nd setup move, and moves of the
incorrect setup type, first)
2015-12-01 03:50:47 +04:00
The Immortal
0b2cb6bda2 Random Battle: Few updates
- Reject Focus Punch, Sucker Punch, and Hidden Power when moves are
processed, not after (if they are the only attacking move)
- Simplify the checks for too many Dark moves by using the new type
counter; this should fix remaining Spiritomb issues as well
2015-11-28 14:13:08 +04:00
The Immortal
50365d9e2a Random Battle: Reset IVs if Hidden Power was removed
This was mistakenly removed in the previous commit.
2015-11-28 04:30:31 +04:00
The Immortal
d1877237ea Random Battle: Improve Genesect formes
Genesect formes tend to get bad sets because of the obligatory Techno
Blast. Removed Physical setup from them to fix this.

In addition, removed moveset modifications as they are no longer needed.
2015-11-28 03:54:49 +04:00
The Immortal
b19e7fd45b Random Battle: Improve Ground types and Rain Dancers
- Water Pokemon that have Rain Dance should have a Water attack as well
- Ground Pokemon that setup should always have a Ground attack
2015-11-28 00:08:34 +04:00
The Immortal
6eb94903dd Random Battle: Improve Kecleon
Make it so Protean users have at least one non-priority move.
2015-11-27 20:53:58 +04:00
Guangcong Luo
32a9c20ddd Give miss animations to spread moves in singles 2015-11-26 04:17:06 -05:00
The Immortal
7956c0135a Random Battle: Few improvements
- Add Vacuum Wave to Infernape
- Replace Thunder Punch with Stone Edge on Hawlucha
- Don’t count Vacuum Wave as STAB
- Prevent Vacuum Wave with Close Combat or Mach Punch
- Make sure Darkrai has Dark Void
- Make sure Yveltal has a Dark move
2015-11-26 13:00:57 +04:00
The Immortal
4068c7689a Random Battle: Team details additions
- Prevent multiple Toxic Spikes setters
- Reject Sand Veil if the team doesn’t have a sand setter
2015-11-26 02:56:03 +04:00
The Immortal
ccba1a64b9 Random Battle: Improve Liepard
This prevents it from getting Sucker Punch if it has Copy Cat.
2015-11-24 16:52:34 +04:00