Commit Graph

3466 Commits

Author SHA1 Message Date
Ivo Julca
566d6bec9b Battle Factory: update PU with recent drops 2015-12-16 14:59:27 -05:00
Marty-D
82f63b04e3 Fix Infiltrator's interaction with Doom Desire/Future Sight
And correct the Wonder Guard gen check
2015-12-16 12:54:02 -05:00
Marty-D
6d6d1724fd Make sure Doom Desire/Future Sight deal direct damage
No more Magic Guard being immune, bypassing Sturdy, etc.
2015-12-15 15:53:11 -05:00
The Immortal
2de41c569f Random Battle updates 2015-12-15 21:35:52 +04:00
luiscarloscb
5443af1f17 Fix incorrect Water Pulse chance in description. 2015-12-15 15:52:57 +00:00
Ivo Julca
6896805377 Add base formats as aliases to suspect test variants
Fixes /tier and /tournament new for some targets
2015-12-14 17:52:38 -05: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
e35bcbbbc5 Prevent legendaries with less than 3 perfect IVs
Fixes #1342. The one in rulesets is the general check, and the one in
team-validator is the event check. I don’t think we can combine it into
a single check; duplication is needed.
2015-12-13 01:34:37 +04: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
sparktrain
1ed0f23054 Bergmite evolves at level 37 2015-12-12 12:00:49 -05:00
The Immortal
3c5f4738a0 Add shiny Diancie event 2015-12-12 18:53:22 +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
The Immortal
147872d92c Implement event only Pokemon
This adds an `eventOnly` flag for Pokemon that can only be obtained via
an event. It also adds an `eventOnlyHidden` flag for Pokemon whose
hidden ability can only be obtained via an event. This removes the need
for the `dreamWorldPokeball` flag, and those events are added.

If a Pokemon can only be obtained via event, the team validator checks
if any of its events matches its current set.
2015-12-12 05:03:07 +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
Guangcong Luo
4e9a5a962f Merge pull request #2293 from ascriptmaster/trickroom
Refactor Trick Room and fix interactions with speed-based moves
2015-12-10 11:24:32 +00:00
Kevin Lau
4820747b72 Refactor Trick Room and fix interactions with speed-based moves
Use a new function getDecisionSpeed to get a Pokemon's speed for use in
calculating turn order instead of modifying the stat directly. This fixes
issues regarding damage calculations with speed-based attacks when the
Trick Room glitch is encountered.

Also, change Trick Room to now use the speed calculation used in-game.
2015-12-09 15:52:23 -08:00
Konrad Borowski
4b50bdb149 Add Giratina-Origin's Gen6 Tailwind and Magic Coat move tutors
Those two moves are unusual in that Giratina-Altered doesn't get those
at all, and most likely because of that, they were ignored during dumping
of game's data. However, because the forme can be easily switched from
Giratina-Origin to Giratina-Altered without losing those two moves, there
is no need for special casing Giratina-Origin's movepool.
2015-12-09 21:36:00 +01:00
The Immortal
cccf7e4dea Add VGC 2016 2015-12-09 23:09:14 +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
Marty-D
6ecac2029d Fix Mental Herb always showing Attract's end message 2015-12-08 11:22:01 -05:00
Marty-D
23bc05ea61 Add Stance Change animation 2015-12-07 16:48:37 -05: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
Marty-D
c1bc84d259 Fix Hyperspace Fury 2015-12-06 13:22:57 -05: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
9db091ffb1 UU is having a suspect test 2015-12-05 19:57:03 +04:00
The Immortal
6fdb6a21eb Random Battle: Limit EVs to 85 2015-12-05 19:06:17 +04:00
Guangcong Luo
2afd1ba636 Fix Mummy message 2015-12-05 02:06:12 -05:00
Guangcong Luo
7536a37dc5 Standardize ability-boost messages
Stat boosts/unboosts caused by abilities now send:

|-ability|POKEMON|ABILITY|boost
|-boost|etc
|-boost|etc
|-unboost|etc

Before, they were pretty inconsistent.
2015-12-05 02:04:01 -05: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
41d2f26c39 Remove PU suspect test 2015-12-03 20:39:32 +04:00
Ivo Julca
2d93f8629d Battle Factory: update PU and NU
- Banned Linoone removed from PU, among other updates.
2015-12-02 14:40:02 -05:00
The Immortal
ddf2e27a4b Random Battle: Improve Healing Wish sets 2015-12-02 19:17:14 +04:00
Guangcong Luo
39281f6995 Fix many bugs in Doom Desire/Future Sight
- Doom Desire/Future Sight now calculate accuracy when hit, not when
  the move is used
- Doom Desire/Future Sight are now limit 1 per defender slot, not 1
  per attacker slot
- Doom Desire/Future Sight in gen 4 and earlier now have their damage
  calculated on use, rather than on hit
- Doom Desire/Future Sight in gen 4 and earlier now deal typeless
  damage, and are not subject to STAB, weakness, resistance, or
  immunity
- Doom Desire/Future Sight in gen 4 and earlier now can't critical
  hit
- Doom Desire is now Physical in gen 3
2015-12-02 00:38:30 -05: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
2358660a24 Add LC Extended 2015-12-01 21:58:50 +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