Commit Graph

7539 Commits

Author SHA1 Message Date
Joimer
6ef22b432b Fix crash in team validator
This commit fixs a specific case crash on team validator that will crash all the validation process.
2015-02-22 13:20:40 +01:00
The Immortal
9742ecf62f Fix learnset bug
This fixes the weird case of hidden ability Staraptor in gen 5 being
disallowed egg moves because Starly doesn't have a hidden ability in gen
5. Non-hidden ability Starly can actually evolve into hidden ability
Staravia/Staraptor.
2015-02-22 15:37:05 +04:00
The Immortal
c32666c178 Random Battle: Move Multiscale check
The previous one doesn't apply to Dragonite or Lugia. This prevents
Focus Sash Lugia if it is your first Pokemon.

Also moved the low priority Black Sludge selection above Leftovers for
the case of Poison/Flying Pokemon.
2015-02-22 14:04:40 +04:00
The Immortal
4f50a7de2d Merge pull request #1552 from ascriptmaster/randoms
Random Battles: Move rejection updates
2015-02-22 13:58:17 +04:00
Kevin Lau
684261287e Random Battles: Move rejection updates
- Reject Trick/Switcheroo with Acrobatics so that the Pokemon can properly
  receive Flying Gem
- Reject Rapid Spin with setup
- Do not reject Knock Off with setup
2015-02-22 00:37:26 -08:00
The Immortal
474f2ed8a5 Ban Keldeo from STABmons 2015-02-22 02:27:12 +04:00
The Immortal
9b5aad7bdd Merge pull request #1550 from ascriptmaster/randoms
Random Battle: Item Updates
2015-02-22 02:13:15 +04:00
Kevin Lau
6b3fbb342a Random Battle: Item Updates
- Prevent Focus Sash and Life Orb with Multiscale.
- Add Custap Berry as a low-priority item for Sturdy + Explosion
2015-02-21 14:04:23 -08:00
Guangcong Luo
e66608b537 Merge pull request #1549 from xfix/fix-haze-test
Initialize Haze test with values that don't fail.
2015-02-21 14:23:17 -06:00
Konrad Borowski
e7ac57c392 Initialize Haze test with values that don't fail.
Thunder Wave has a small chance to miss, setting seed to value that I
know doesn't fail the test fixes the problem.
2015-02-21 21:17:01 +01:00
Guangcong Luo
f874040753 Merge pull request #1546 from xfix/gen2-leftovers
Leftovers heal after switching in in Gen2
2015-02-21 13:00:18 -06:00
The Immortal
e51a210571 Random Battle: Prevent three Electric attacks 2015-02-21 20:24:57 +04:00
The Immortal
5accc4d855 Update Battle Competition
http://3ds.pokemon-gl.com/information/65998696-54f6-4da7-85ac-0908e0cbd1a4
2015-02-21 15:39:53 +04:00
Konrad Borowski
815909eff2 Don't skip residuals after fainting in Gen2.
The original code was wrong, as all it did was skipping residuals.
Skipping moves is handled by `faintMessages`.
2015-02-21 11:37:39 +01:00
The Immortal
30309afcbd Ban Assist from Balanced Hackmons 2015-02-21 14:14:50 +04:00
The Immortal
15f1689117 Random Battle: Remove Technician check added in 5feb725a58 2015-02-21 14:13:30 +04:00
Slayer95
7e1a5145f0 Merge pull request #1545 from xfix/flameorb-test
Create Flame Orb test
2015-02-20 20:57:28 -05:00
The Immortal
68379309ad Merge pull request #1542 from ascriptmaster/randoms
Random Doubles Battle: Update Movesets
2015-02-21 03:58:58 +04:00
Kevin Lau
61ce18abcc Random Doubles Battle: Update Movesets
Mostly Gen 1-2 Pokemon were changed.

Added Moonblast where the usage stats were indicating that it was as
commonly used than Dazzling Gleam in Doubles. Reject Moonblast with
Dazzling Gleam.

Reject Return with Double Hit (for Ambipom).

Reject Power Split with Guard Split (for Shuckle).

Reject Acid Spray with Sludge Bomb (for Tentacruel).

Pokemon with Focus Energy have Scope Lens.

Aeroblast is now considered STAB.
2015-02-20 15:55:19 -08:00
Marty-D
78f5cacd63 Update item descriptions 2015-02-20 18:16:39 -05:00
The Immortal
5feb725a58 Random Battle updates
- Reject Body Slam instead of Glare (so Dunsparce has a higher chance of
getting Glare + Headbutt rather than Body Slam + Headbutt)
- Reject Substitute with Taunt
- Update moves that are unacceptable as the only attacking move
- STAB is required for almost every mono-attacking case, exception is
that Fairy is allowed for Psychic types and Ice is allowed for certain
Normal types
- Always give Sylveon Hyper Voice
2015-02-21 03:12:04 +04:00
The Immortal
b79385e1a1 Fix crash in formats 2015-02-20 21:25:05 +04:00
The Immortal
16d4b8a31a Add LC suspect test 2015-02-20 21:17:02 +04:00
Marty-D
d7f5973e64 Revert Topsy-Turvy's short description 2015-02-20 10:57:45 -05:00
The Immortal
587cc30238 Random Battle: Reject Glare with Body Slam 2015-02-20 16:34:18 +04:00
The Immortal
5ae1ea63a7 Random Battle: Remove custom level for Mega Salamence
It is strong in Ubers, much like Gengar.
2015-02-20 15:42:39 +04:00
The Immortal
6367f2ff87 Random Battle: Few changes
- Cacturne is too slow to ever make use of Destiny Bond
- Prevent Choice with Charge Beam
- Updated custom levels
2015-02-20 15:24:08 +04:00
Konrad Borowski
3446730787 Create Flame Orb test
Killing Focus Sash Magikarps with one attack is so amazing.
2015-02-20 12:15:42 +01:00
Guangcong Luo
4136f7a248 Merge pull request #1544 from xfix/knockoff-test
Create test for Knock Off.
2015-02-20 04:50:56 -06:00
Guangcong Luo
e381040bb4 Merge pull request #1543 from xfix/haze-test
Create regression test for Haze
2015-02-20 04:50:31 -06:00
Konrad Borowski
24c347f2e4 Create regression test for Haze (#1438). 2015-02-20 11:12:05 +01:00
Konrad Borowski
b4be85169c Create test for Knock Off. 2015-02-20 11:07:39 +01:00
The Immortal
3603e5f29c Add new Battle Competition: Dragon Cup 2015-02-20 13:57:52 +04:00
Marty-D
222b64f2ad Update move short descriptions 2015-02-20 00:18:51 -05:00
Guangcong Luo
b341a4d830 Merge pull request #1531 from Slayer95/randbats-3-moves
Randbats: fix incomplete movesets
2015-02-19 19:53:21 -06:00
Ivo Julca
03bbd985fc Test: add some tests for Magic Bounce 2015-02-19 19:52:23 -05:00
Ivo Julca
02cd48d03e Fix invites to battle rooms 2015-02-19 19:03:32 -05:00
Marty-D
9b43953f6a Update Ability descriptions 2015-02-19 18:55:06 -05:00
The Immortal
c557c4565c Random Battle updates
- Slurpuff gets Drain Punch in ORAS
- Update Kecleon's moves (old moves for Color Change are irrelevant)
- Update items with Unburden
2015-02-20 02:47:00 +04:00
Ivo Julca
7cb4a4913f Randbats: only reject moves if there are enough remaining moves
This fixes for real the issue of Pokémon with multiple viable Hidden Powers getting less than four moves sometimes.
2015-02-19 17:11:49 -05:00
Ivo Julca
369a74abe3 Random Battle: properly track chosen moves 2015-02-19 16:58:03 -05:00
The Immortal
58d74807f7 Merge pull request #1539 from ascriptmaster/randoms
Random Battle: Refactor STAB Move Checks
2015-02-19 15:21:45 +04:00
Marty-D
e244ee1d58 Merge pull request #1541 from ascriptmaster/move-fixes
Fix Auras
2015-02-19 00:17:20 -05:00
Kevin Lau
a3909337fd Fix Auras
They now use the accurate hex values. The old values were slightly off.
2015-02-18 21:14:42 -08:00
Slayer95
db67181df8 Merge pull request #1540 from ascriptmaster/move-fixes
Fix Tough Claws
2015-02-19 00:03:07 -05:00
Kevin Lau
89deb35644 Fix Tough Claws
It gives a 30% boost, not 33%.
2015-02-18 20:56:05 -08:00
Kevin Lau
1a5f1a4eff Random Battle: Refactor STAB Move Checks
The current variables in place to check for STAB do not work as intended.
If a Pokemon has two STAB moves of the same type, and one of them is set
as a move that shouldn't be counted as STAB, the Pokemon will be counted
as not having STAB. Since nothing in the code checks for Pokemon having
STAB of a specific type, it is refactored to be a boolean instead.

In order to avoid a situation where a move like Infestation sets the STAB
variable to true when it doesn't count as a damaging move, these kinds of
moves no longer increment counters for abilities that boost damage, like
Adaptability.
2015-02-18 20:03:49 -08:00
Guangcong Luo
527d021fac Merge pull request #1536 from VBlizzard/patch-1
Update grammar and merge search commands into one.
2015-02-18 19:32:02 -06:00
Blizzard
f0f98a61b5 Update grammar and merge search commands into one. 2015-02-18 20:13:21 -05:00
Slayer95
1104731a4e Merge pull request #1525 from Slayer95/gulp
Improve `npm test`: lint
2015-02-18 20:05:48 -05:00