Commit Graph

1137 Commits

Author SHA1 Message Date
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
Ivo Julca
2215696664 Fix syntax error from de04698 2016-06-18 21:20:25 -05: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
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
Juanma Serrano
ded5df548c Seasonal: Remove CAP and add Pelipper ability 2016-06-05 19:13:57 +02:00
Juanma Serrano
d6fb82af55 Add June Seasonal, June Jubilee: Revenge 2016-06-05 18:43:59 +02:00
urkerab
be0f9d3be2 Show ability activation when it causes an immunity (#2555)
- Also improve `trySetStatus` and `moveHit` implementations
2016-05-22 18:44:54 -04:00
The Immortal
c1af24faff Random Battle: Improve NFE Pokemon 2016-05-23 02:27:55 +04:00
The Immortal
e44d406cbb Scripts: Use Array#includes 2016-05-23 02:07:35 +04:00
Ivo Julca
89f7cb1951 Fix up Battle Factory after a876232d 2016-05-17 05:37:30 -05:00
The Immortal
a876232d33 Update random team generators
- Remove `randomMonotypeTeam` and use `randomTeam` for Monotype Random
Battle. This prevents having to maintain two functions, in addition to
removing duplicate code.
- Improve Monotype teams by preventing more than one of the same type
combination.
- Remove no longer needed Pichu-Spiky-eared check from
`randomDoublesTeam`.
2016-05-17 00:30:40 +04:00
The Immortal
92515e9b8b Random Battle: Adjust Meowstic rate 2016-05-05 22:12:42 +04:00
urkerab
68af97f71d Always use Object.values(template.abilities) (#2543) 2016-05-02 12:18:40 -07:00
Juanma Serrano
0b229ba7d5 Random Doubles Battle: Remove Slaking
While Slaking has a gimmick use with skill swap, gastro acid, simple ray, etc., in this random format it makes a battle basically a 5v6 battle, where you can Protect on its loafing around turns or make it switch, lowering offensive pressure and receiving more damage.
2016-05-01 21:26:35 +02:00
The Immortal
046b8df3d4 Add AfterMega event
This is a useful event that prevents the need for mods in several OMs.
2016-05-01 20:37:23 +04:00
The Immortal
45b4d937c3 Random Battle: Remove SolarBeam if Sunny Day is rejected 2016-04-27 14:51:02 +04:00
Kevin Lau
108c77e00d Random Battle: Various sun-related fixes (#2536)
* Random Battle: Don't reject Swords Dance with no-sun Growth

This will allow Growth to be rejected first. Affects Victreebel.

* Implement fastPop function

fastPop is a generalization of sampleNoReplace. While sampleNoReplace
removes a random element from the array without regard to order, fastPop
allows for a specific element to be removed. This speeds up the removal of
items from the move pool in random battles in situations where it is
needed.

* Random Battle: Remove Weather Ball from pool if Sunny Day is rejected
2016-04-27 03:03:44 +04:00
Ivo Julca
22779102cc Lint: Add miscellaneous extra rules
Among the newly added rules, there are quite a few intended to enforce
compliance of CONTRIBUTING.md-blessed idioms, as well as ensure
safe usage of classes and constant bindings.

We are also now enforcing usage of early return in commands.js,
which has 100% compliance as of fd2c45c.
2016-04-25 21:52:21 -05:00
Kevin Lau
99e1cc04f0 Random Battle: Explosion should not be the only STAB
Affects Glalie-Mega.
2016-04-22 00:33:16 +03:00
mizdra
f262d02c42 Fix recoil in Gen 3-4 (#2461)
* Fix the 1/3 recoil moves in Gen 3-4
* Fix rounding recoil in Gen 3-4
2016-04-18 16:26:54 -04:00
cadaeic
9a4a6f707b Implement Triple Kick multiple accuracy checks (#2495)
* Implement Triple Kick multiple accuracy checks

* Implement Triple Kick multiple accuracy checks
2016-04-10 14:29:23 -07:00
The Immortal
514ac92d7f Random Battle: Improve Dunsparce 2016-04-11 00:57:57 +04:00
Juanma Serrano
067dd4db14 Remove OM of the Decade 2016-04-02 13:39:39 +02:00
Bär Halberkamp
0a3a65ee9e Fix shitmons 2016-04-01 14:19:50 +02:00
Juanma Serrano
7b48c14579 OMotD: Fix typo 2016-04-01 13:59:34 +02:00
Juanma Serrano
9349b8e7f5 Implement new OMs of the Decade 2016-04-01 13:55:14 +02:00
The Immortal
a8776fdb45 Random Battle: Prevent Psychic and Psyshock together 2016-03-19 07:07:22 +04:00
Ivo Julca
0281176fd1 Remove usage of Array|Object methods implemented by Sugar.js
Adds a dependency to shim Object.values until it's natively available.
2016-03-09 16:55:34 -05:00
Ivo Julca
23573646de Fix information leak in random formats 2016-03-04 19:46:25 -05:00
Quite Quiet
20877368a3 Pass list of hit targets with [spread] 2016-03-03 22:57:11 +01:00
Quite Quiet
7a14a8f547 Notify client when a move is a spread move 2016-03-02 10:42:09 +01:00
Juanma Serrano
b88cf8fb7c Seasonal update
Improve Grappling Hook and add a move for Summer
2016-03-02 09:55:13 +01:00
Juanma Serrano
c92f87993f Implement March Seasonal, Dimension Doom 2016-02-29 14:44:51 +01:00
The Immortal
5047fda6fc Random Battle improvements 2016-02-28 00:35:15 +04:00
The Immortal
9e16f45902 Random Battle updates
- Improve Flying types by making sure they have a second STAB if they
need it
- Revert bf0af09d7c and instead hardcode
the moveset modification for Aggron; Autotomize does have a benefit
with Heavy Slam
2016-02-27 03:24:51 +04:00
The Immortal
2b02f1ee2e Random Battle: Prevent Trick with setup 2016-02-17 18:06:37 +04:00
The Immortal
00ea930a93 CC: Fix Smeargle having CAP moves 2016-02-16 18:20:35 +04:00
The Immortal
ab7eb70c44 Random Battle: Add minimum SpD for Assault Vest
Fixes #2424
2016-02-16 16:42:00 +04:00
Guangcong Luo
76dd4a586f Remove unused isSetup variable 2016-02-16 01:08:55 -05:00
Guangcong Luo
b665660608 Refactor for more ES6 features
Now that nodejs/node#3072 is mostly fixed, we can finally start using
Node 4+ features.

This refactor:

- uses arrow functions where appropriate

  Note that arrow functions still aren't used in Mocha, where `this`
  is sometimes meaningful.

  This also removes the need for .bind() nearly everywhere, as well
  as the `self = this` trick.

- refactors Validator and Connection into ES6 classes

- no longer uses Array#forEach for iterating arrays

  We strongly prefer for (let i = 0; i < arr.length; i++) because of
  performance reasons. Most forEaches have been replaced with for..of,
  though, which is 5x slower than the long-form loop but 2x faster
  than forEach, which is good enough outside of most inner loops.

  The only exception is tournaments, which is due for a more invasive
  refactor soon anyway.
2016-02-10 17:40:21 -06:00
The Immortal
477d11c906 Random Battle: Improve Lucario 2016-02-08 01:30:32 +04:00
Guangcong Luo
8a8838552d Improve crashlogger
Crashlogger now supports passing in a dictionary of additional
information to report, so we no longer need to resort to making fake
errors.

The hadException parameter has now been removed entirely. I don't know
of a use case for it to be false.
2016-02-04 03:04:05 -06:00
Marty-D
4c8ab041ce Fix Protean interaction with Toxic 2016-01-20 21:05:49 -05:00
Guangcong Luo
85ddb7dddb Fix Pressure PP deduction
It was deducting PP for called moves and second turns of two-turn moves.
2016-01-19 20:01:09 -05:00
Guangcong Luo
f3d10c0122 Merge pull request #2368 from urkerab/sample-no-replace
Simplify sampleNoReplace function
2016-01-13 20:11:45 -08:00
urkerab
4a5b7f6c88 Simplify sampleNoReplace function 2016-01-14 01:06:16 +00:00
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
The Immortal
ebef173e3d Random Battle: Fix RestTalk check 2015-11-24 15:31:04 +04:00
The Immortal
c8fea66fb2 Random Battle updates
- Check the move pool of a Pokemon when deciding to accept
Physical/Special setup
- Don’t count `NoStab` moves as STAB for Protean users
- Prevent Dark Pulse with Hyperspace Fury
- Fix Aura Sphere/Shadow Claw rejection to check setup
- Prevent too many Ice moves on Refrigerate Pokemon
- Reject Acid Spray with any Special moves
- Do not reject Bullet Punch with Adaptability
- Improved the rejection of moves that don’t satisfy setup requirements
- Make sure Gale Wings has a Flying move
- Remove unneeded combo checks (the consensus is that STAB is better
than Ghost/Fighting or Electric/Ice coverage)
- Give AG (Mega Rayquaza) the same chances of appearing as Uber
2015-11-24 06:55:10 +04:00
Kevin Lau
e6f0fb9760 Random Battle: Fix issues with deprecated 'ate' counter 2015-11-23 16:45:02 -08:00
Kevin Lau
6bcee1926d Random Battle: Update Gligar, Mega Charizard, Pyroar, and more
Gligar always gets Immunity.

Reject Solar Power on Mega Charizard (both formes)

Update move selection to ensure Fire Pokemon with Drought/Sunny Day get a
Fire move.
2015-11-23 16:22:34 -08:00
Kevin Lau
d8deac0e58 Random Battle Refactor: Track damaging moves of each type
Adds counters for each type in queryMoves. Many updates to ability checks
were also needed.

Also, update Random Double Battles to use teamDetails like Singles.
2015-11-23 16:22:32 -08:00
Marty-D
0d37b7946d Seasonal: Fix custom movesets
Merge conflicts were being resolved in the wrong direction, giving all Pokemon their normal Random Battle movepools.
2015-11-22 21:46:14 -05:00
Ivo Julca
52f1d43d3d Battle Factory: do not read Pokémon flags
They have been unused for a while.
2015-11-17 21:47:24 -05:00
Kevin Lau
53032b2851 Random Battle: Don't count weak moves for Life Orb item checks
By checking the damagingMoves index length instead of the number of
Physical and Special moves, it not only ensures no Life Orb for Pokemon
with Rapid Spin, but also Nuzzle (such as Pachirisu) and any other
potential cases that have been missed.
2015-11-17 11:56:51 -08:00
The Immortal
3af21a71f2 Random Battle: Prevent multiple Fire/Poison moves 2015-11-13 23:32:10 +04:00
The Immortal
5812136ddf Random Battle updates
- Add Knock Off to Watchog
- Prevent Ice Shard as the only STAB
- Prevent Superpower with RestTalk
- Only allow Endeavor on leads

(Fixes #2261)
2015-11-12 23:26:04 +04:00
Ivo Julca
4410843e5a Unhardcode alternate forme handling in random team generators
- Use the recently added `battleOnly` template property to handle formes not directly allowed in-battle.
- Implement utility method `checkBattleForme` to unify handling of Mega and Primal formes.
2015-11-11 20:28:13 -05:00
The Immortal
a52d655e07 Random Battle: Prevent U-turn as the only STAB 2015-11-12 02:09:46 +04:00
The Immortal
65dfd4ee27 Random Battle: Improve Heliolisk
Fixes #2259.

And removed an unnecessary check for Forecast as the Castforms have their own sets now.
2015-11-11 23:47:35 +04:00
Guangcong Luo
ded9f1cd5d Fix duplicate cases in random set generators 2015-11-07 23:12:19 -06:00
Ivo Julca
04c64c143e Cleanup: remove several unused variables 2015-11-07 17:34:21 -05:00
Ivo Julca
2c2a3bdf58 Fix misplaced cases in random sets generators 2015-11-07 16:50:51 -05:00
Ivo Julca
0479d2b729 Clean up handling of variable bindings in switch statements 2015-11-06 21:58:36 -05:00
Juanma Serrano
c4ac8d6e2f Use strict mode and let and const instead of var
This commit also fixes some duplicated variable declarations.
2015-11-06 21:56:52 -05:00
Ivo Julca
ef4963e030 Battle Factory: PU is now playable 2015-11-06 01:00:43 -05:00
The Immortal
7b625b7380 Random Battle: Update levels for megas without stones 2015-11-05 03:18:43 +04:00
Juanma Serrano
41167748b6 Seasonal: Keep naming convention for team generator
Seasonal team generators all should be randomSeasonalNameTeam.
2015-11-04 01:18:23 +01:00
Ivo Julca
6742c1e2a6 Fix Seasonal corrupting randbats moves 2015-11-02 07:53:47 -05:00
Juanma Serrano
22d6f81294 Merge pull request #2201 from ascriptmaster/seasonal
Implement November Seasonal, Super Squad Showdown
2015-11-02 08:16:13 +01:00
The Immortal
11fd83d7f8 Random Battle: Move and Item updates
- Prevent Hidden Power as the only STAB on dual-typed Pokemon
- Prevent U-turn and Volt Switch with Baton Pass
- Prevent Life Orb on Forretress
2015-11-02 01:31:47 +04:00
Kevin Lau
a38aa59eaa Implement November/December Seasonal, Super Squad Showdown 2015-10-29 17:15:43 -07:00
Kevin Lau
fc0237649c Random Battle: Update Swellow
Remove Endeavor.

Force Guts on Pokemon with the ability and have Protect.
2015-10-28 15:29:45 -07:00
The Immortal
872c4995a6 Merge pull request #2237 from ascriptmaster/randoms
Random Battle: Ability and STAB Changes
2015-10-26 22:59:22 +04:00
Kevin Lau
ea1a2dee8c Random Battle: Setup and STAB Fixes
Reject Sucker Punch if it is the only STAB move on a Pokemon with moves
that boost Special attacks.

Fix issues with setupType not being set properly with setup moves
appearing in mixed sets.
2015-10-26 10:41:05 -07:00
The Immortal
5620f59553 Random Battle: Prevent Roar with setup 2015-10-25 16:37:20 +04:00
The Immortal
29b7b3b38e Random Battle: Update Tentacruel and Genesect 2015-10-23 13:39:23 +04:00
The Immortal
071f06dbfb Random Battle: Prevent Sleep Talk without Rest
And prevent an Orb on Guts RestTalk Throh.
2015-10-21 02:44:53 +04:00
The Immortal
f52d50be27 Random Battle: Ability and move updates
- Prevent Quick Attack as the only STAB on -ate
- Make Adaptability Pokemon get more than one STAB
- Allow Guts with RestTalk
- Make sure Milotic has Marvel Scale with RestTalk
2015-10-21 00:32:35 +04:00
Juanma Serrano
2b0d9cd5b7 Seasonal: Remove items that clash with Trick-o-treat
Assault Vest disallows it.
Choice Band and Specs lock into it without giving a proper boost.
We give Life Orb to those so they can get a general damage boost.
2015-10-15 10:12:13 +02:00
The Immortal
5ecdfd8dc9 Random Battle: Update Swellow and Contrary
- Add Protect to Swellow and prevent Endeavor with Quick Attack
- Make sure Pokemon with Contrary always have a move that benefits
(except Shuckle)
2015-10-14 19:54:13 +04:00
The Immortal
b6bb84323c Random Battle: Modify what's acceptable as two attacks
- BoltBeam is now only acceptable on Special Attacking Normal-type
Pokemon
- Night Shade / Seismic Toss with another non-STAB move is acceptable
2015-10-14 03:45:06 +04:00
The Immortal
d38b8d8bd8 Random Battle improvements
- Don’t count Pursuit as STAB
- Prevent phazing moves with setup (unless with RestTalk)
- Prevent Fire Fang with Fire Blast
- Prevent Zen Headbutt with Psychic
- Prevent Substitute with Rest
- Remove Counter exception so Pokemon with it get their sets checked
- Make sure certain Pokemon always get a recovery move (currently:
Alomomola, Chansey, Blissey)
2015-10-13 02:14:13 +04:00
Kevin Lau
2cabcc0c69 Update NFE Random Battle sets being used in Seasonals
Also, allow Pumpkaboo/Gourgeist formes in Seasonals and add a nickname for
Espurr.
2015-10-12 13:59:38 -07:00
Kevin Lau
06b5987bfb Seasonals: Pokemon now have five moves
Magikarps now gain Aqua Ring, which has been modified to heal 1/8 of
maximum HP.

Also fixed some minor typos.
2015-10-09 16:22:46 -07:00
Juanma Serrano
d18e90fd93 Implement October Seasonal, Spoopy Party
This is going to be the Seasonal Ladder for the remainder of October.
Super Squad Showdown will be finished and implemented for November.
2015-10-09 13:12:36 +02:00
The Immortal
d2bb5bf545 Random Battle: Don't count Clear Smog as STAB 2015-10-08 16:47:49 +04:00
Kevin Lau
1fa49099ce Random Battle Move and Ability Updates
Add new sets for Cherrim-Sunshine specifically.

Reject Mach Punch as the only STAB move if the Pokemon does not have
Technician. Affects almost every Fighting Pokemon except Breloom.

Reject Bullet Punch as the only STAB move if the Pokemon does not have
Technician. Affects Metagross and Mega Lucario.

Don't count Charge Beam as singular STAB, and add checks for redundancy
with Thunderbolt based on the number of remaining Special moves. Affects
Emolga and Magnezone.

Reject Sheer Force with Fake Out in Doubles. Affects Hariyama.

Reject Flash Cannon with Iron Head in Doubles to match the rule in
Singles. Affects Aegislash.

Add Freeze-Dry as an option to Mega Glalie sets. Removed Crunch from its
Singles set and Taunt from both sets. Reject Ice Shard with Freeze-Dry so
it doesn't get too many Ice-type moves.
2015-10-05 17:07:47 -07:00
Marty-D
e8a6747e02 Fix multi-hit moves returning false damage when hitting subs 2015-10-03 15:00:29 -04:00
The Immortal
e2ef6ec36a Random Battle: Modify levels and Ability ratings
- Set Pokemon whose Ability is banned from UU at UU level
- Change weather Ability ratings, primarily to make sure Politoed
always gets Drizzle
2015-10-02 20:29:19 +04:00
The Immortal
25491fdcdf Add new OMs of the Month 2015-10-01 22:21:03 +04:00
The Immortal
849a48de9d Random Battle updates
- Add Protect and Sleep Talk to Registeel
- Allow Shadow Sneak as the only STAB on mono-Ghosts
- Prevent Night Shade/Seismic Toss with STAB
- Reject Thunder Wave with Toxic instead of the reverse
2015-10-01 00:33:01 +04:00
Kevin Lau
6e486f9411 Random Battle: Update Cinccino
- Remove Wake Up Slap because it's no longer Technician boosted.
- Change Technician to reject if a Pokemon has Skill Link and all their
Technician-boosted moves are Skill Link moves.
- Added Aqua Tail.

Miscellaneous changes:

- Placed Sheer Force within the counterAbilities section.
- Sorted the coutnerAbilities in the Random Doubles Battle code.
2015-09-29 15:07:15 -07:00
The Immortal
4a8a776b83 Merge pull request #2174 from ascriptmaster/randoms
Random Battle: Ability and Move Updates
2015-09-28 21:41:13 +04:00
Kevin Lau
1a528be0c3 Random Battle: Ability and Move Updates
Reject Solar Power if there are no Special moves (affects Charizard).

If Rampardos does not have Head Smash, make sure it gets Sheer Force.

Don't set the setup type to Physical if there are no Physical moves and at
least two Special moves (or vice versa for Special setup)
2015-09-28 10:30:33 -07:00
The Immortal
486d7991e0 Random Battle: Do not count Shadow Sneak as STAB 2015-09-24 19:30:24 +04:00
Slayer95
710fa6af53 Merge pull request #2172 from sobolews/magnitude
Display value of magnitude after move is used
2015-09-22 23:21:10 -05:00
Carl Sobolewski
02c473e8f3 Display value of magnitude after move is used 2015-09-22 21:51:12 -06:00
The Immortal
e0d48328ac Random Battle: Improve Eruption/Water Spout sets
- Do not count Eruption and Water Spout as STAB so Pokemon get an
additional STAB move with them
- Remove Water Spout from Octillery as it’s too slow to make use of it,
and add Scald + Gunk Shot
2015-09-21 23:41:19 +04:00
The Immortal
74cb4b9b61 Random Battle: Improve sets with Trick 2015-09-19 05:10:48 +04:00
The Immortal
88f356da80 Random Battle: Prevent Dazzling Gleam with Play Rough 2015-09-14 22:19:23 +04:00
The Immortal
933cfca654 Random Battle: Item updates
- Prevent Life Orb with 2 attacks + Rapid Spin
- Add Sharp Beak Talonflame
2015-09-10 01:02:17 +04:00
The Immortal
c9864f8e6d Random Battle: Prevent Aqua Jet as only STAB 2015-09-05 04:35:03 +04:00
Marty-D
a16fdff02f Merge pull request #2137 from ascriptmaster/move-fixes-2
Shield Dust does not block self-boosting secondaries
2015-09-03 08:47:59 -04:00
Kevin Lau
79732b414e Shield Dust does not block self-boosting secondaries
Refactor TrySecondaryHit to become ModifySecondaries instead to allow for
proper behavior.
2015-09-03 03:10:16 -07:00
Kevin Lau
761a18e459 Random Battle: Don't randomly choose setupType in case of a tie
If both Physical and Special setup moves are present, and there are an
equal number of Physical and Special moves, choose setup based on the
first setup move in the moveset instead of randomizing it.
2015-09-02 16:00:49 -07:00
The Immortal
3530e95a96 Random Battle: Fix Pokemon with both Physical and Special setup
such as Lucario. Instead of always setting `setupType` to `Special` for
those cases, it now sets it to the one with the most attacks (or random
if it’s equal).

Also, added another check to fix the issue of too many Dark type
attacks on a Pokemon.
2015-09-02 17:10:43 +04:00
The Immortal
fb55d5a032 Random Battle updates
- Fixed Stealth Rock (and Defog/Spin, which isn’t as big of a problem)
being on multiple Pokemon
- Reject Snow Cloak without Snow Warning on the team
- Reject Swift Swim without Drizzle/Rain Dance on the team
- Give Mega Venuasaur Chlorophyll as a starting ability (because
Overgrow is useless)
- Give RestTalk Pokemon Leftovers (so they don’t get Focus Sash if they
are the lead)
2015-08-28 16:46:32 +04:00
The Immortal
6fc79a1e39 Random Battle updates
- Give Regigigas Knock Off instead of Earthquake
- Reject Hidden Power with RestTalk
- Reject Toxic with Flame Charge
2015-08-27 21:26:18 +04:00
The Immortal
4c5bbdc40c Random Battle: Fix Sleep Talk without Rest 2015-08-20 21:59:58 +04:00
Konrad Borowski
f8266fc0b1 Add support to randbats for mega stone banning
This fixes a problem introduced by 77b6b666 causing certain Pokemon
with mega stones (and base forme of Audino) to have level 90 in
randbats.

This commit intentionally doesn't introduce any new levels for mons who
have their tier in parenthesis. Looking over the list of mons who don't
have hardcoded levels, most of them are barely improvement over their
base forme, which is the issue in a standard tiers with its limit of
one mega. However, because teams don't have to use a mega in randbats
(because of how its generator works), getting just a slightly version
of a Pokemon is not a big deal as it's still an improvement, even if
minor.
2015-08-20 10:36:59 +02:00
Kevin Lau
d0e18e3e15 Random Battle: Update Slurpuff
Give it Dazzling Gleam as an attack option, and reject Unburden on it if
it doesn't have setup moves.
2015-08-19 12:41:35 -07:00
Marty-D
6b0f323f69 Challenge Cup: Reduce chances of getting a forme-changing item
- Forme changes requiring an item were being generated too frequently
2015-08-17 14:59:13 -04:00
Kevin Lau
5790cf20fe Random Doubles Battle: Synchronize Ability selection with Singles
Many of the rules used in Random Singles Battles also apply to Doubles, so
many of them are transferred over to the Doubles set generation code.
2015-08-14 18:16:16 -07:00
The Immortal
46586337e6 Merge pull request #2110 from ascriptmaster/randoms
Random Battle: Add extra scenario for Choice Scarf distribution
2015-08-14 21:10:13 +04:00
Marty-D
afa03ac2a9 Improve Challenge Cup's forme selection 2015-08-14 11:39:41 -04:00
The Immortal
91e9744ed7 Random Battle: Improve Basculin, Wobbuffet, and sets
Mold Breaker is rated high but Basculin always prefer Adaptability. Add
Safeguard as an alternative to Destiny Bond for Wobbuffet (but prevent
both on the same set), and Sitrus Berry as an alternative to Leftovers.

Prevent Counter, Metal Burst and Mirror Coat from being rejected. They
only apply to Bastiodon, Chansey and Wobbuffet, who don’t care about
STAB.
2015-08-13 05:11:56 +04:00
The Immortal
f8f51ad4fc Random Battle: Improve Life Orb selection with Speed Boost
Life Orb is selected unless the Speed Boost user has Substitute (in
which case Leftovers is selected later on). Also moved the Speed Boost
check above the Choice checks so that they don’t have to check for
Speed Boost.
2015-08-12 21:27:25 +04:00
Kevin Lau
e09857fe9f Random Battle: Add extra scenario for Choice Scarf distribution
It is given to Pokemon within a certain speed tier with 3 Special attacks
and also U-Turn.
2015-08-12 00:54:55 -07:00
The Immortal
c2903eae0c Random Battle updates
- Add Foul Play to Mandibuzz
- Prevent more than one Stealth Rock setter per team
- Prevent more than one hazard remover per team
2015-08-10 22:28:06 +04:00
The Immortal
02945dd017 Merge pull request #2107 from ascriptmaster/randoms
Random Battle: Slightly tweak Hoopa, fix chance of Hoopa forme appearing
2015-08-10 03:18:37 +04:00
Kevin Lau
faea82765b Random Battle: Slightly tweak Hoopa, fix chance of Hoopa forme appearing
Reject Psychic with Hyperspace Hole in Doubles, and give Hoopa Trick Room.

Give Hoopa-Unbound Gunk Shot, Psychic, and Substitute.
2015-08-09 15:26:03 -07:00
Marty-D
02c7323fb8 Refactor breaking protection
- And fix Mat Block
2015-08-08 14:38:51 -04:00
The Immortal
ae6fc17ac3 Random Battle: Prevent Air Balloon with RestTalk 2015-08-08 04:50:51 +04:00
Guangcong Luo
08463c42a5 Merge pull request #2040 from ascriptmaster/seasonal
Implement August/September Seasonal, Rainbow Road
2015-07-30 03:49:41 +00:00
Kevin Lau
9ab24bd684 Random Doubles: Tweak Helping Hand, Heal Pulse, Trick Room distributions
Removed Helping Hand and Heal Pulse from Pokemon with very low usage stats
for those moves.

Reject Trick Room with Icy Wind.
2015-07-29 11:10:22 -07:00
The Immortal
f29e35ea9d Move Pidgeot to PU
And it’s custom Random Battle level isn’t needed anymore because it’s
unlikely (Mega) Pidgeot will go to OU.
2015-07-26 15:59:29 +04:00
Guangcong Luo
8fd4ea2bae Fix locked move and PP tracking interaction 2015-07-26 04:18:31 -04:00
Guangcong Luo
c8c03ad92d Update Endless Battle Clause
The full description is in the comments of the Endless Battle
Clause entry in rulesets.js.

This update fixes a lot of the issues with yesterday's version.

Also included: A minor refactor of deductPP, which did not need
a success variable.
2015-07-22 03:41:43 -04:00
The Immortal
e92714a2ed Random Battle: Prevent Outrage with Draco Meteor
if they are the Pokemon’s only two damaging moves.
2015-07-21 02:16:53 +04:00
Kevin Lau
411d741b08 Implement August/September Seasonal, Rainbow Road
Rainbow Road is a Mario Kart and color themed seasonal.

Every few turns, a player can get an item that changes the course of the
battle, such as a Mushroom to increase speed.

Pokemon also get color moves that are super-effective on certain other
colors.
2015-07-20 14:38:14 -07:00
The Immortal
ba5cb5d932 Merge pull request #2063 from SolarisFox/patch-2
Randoms: Enable Lilligant to get Own Tempo
2015-07-18 03:12:50 +04:00
The Immortal
5ed4a13610 Random Battle: Improve Pyroar and Rapidash
- Reject Sunny Day if the Pokemon lacks an ability that benefits, and
lacks SolarBeam
- Add Dark Pulse to Pyroar to fix the issue raised in #2063
- Reordered the Status cases to weather/status/recovery/other instead
of just alphabetical
2015-07-18 03:05:01 +04:00
SolarisFox
7eb1a284d9 Randoms: Enable Lilligant to get Own Tempo 2015-07-17 16:04:19 -07:00
Kevin Lau
b0e1fd5789 Fix Pressure's interaction with multi-target moves and Follow Me
Implement new function getMoveTargets to list all move targets given a
user and a move. Refactor Battle system to remove redundancies with
checking move targets. Run the RedirectTarget in this function instead of
later after TryMove, since technically single-target moves changing
targets should occur before the move is attempted.

Refactor the DeductPP event to be a singleEvent that targets the Pokemon's
ability instead of a global event. Run this event on the move's targets as
calculated by BattlePokemon#getMoveTargets.
2015-07-17 01:47:55 -07:00
Kevin Lau
e7688f518a Random Battle: Pikachu is no longer an allowed NFE
Also remove its Cosplay Pikachu formes since those don't register as
having evolutions.
2015-07-01 10:56:15 -07:00
Kevin Lau
cbef63343a Fix OHKO moves' interaction with accuracy-changing abilities/effects
Add a new event ModifyAccuracy that affects all moves other than OHKO
moves and switched many event handlers that originally used the Accuracy
event to ModifyAccuracy instead.
2015-06-29 17:22:42 -07:00
Kevin Lau
b1b9c05db6 Fix -fail messages appearing with Circle Throw/Dragon Tail 2015-06-26 23:10:45 -07:00
The Immortal
cc5ae35b44 Random Battle: Prevent Focus Blast with Close Combat 2015-06-24 05:35:58 +04:00
The Immortal
47d1bfb049 Random Battle: Fix Rhyperior's ability
Both of its other abilities are useless on it, so it should always be
getting Solid Rock.
2015-06-23 17:50:38 +04:00
The Immortal
50c7b574e0 Random Battle: Prevent Choice items with Body Slam
CB Dunsparce is bad. Even Jirachi doesn’t want Choice with Body Slam.
2015-06-21 15:56:55 +04:00
The Immortal
e562c14f9a Random Battle: Remove Unown, add Gligar
Unown is worse than LC Pokemon, which are not in Random Battle.
Gligar is UU, which is reason enough.
2015-06-20 18:18:47 +04:00
The Immortal
69b5648864 Random Battle: Improve Life Orb and Leftovers selection
Now uses Pokemon’s bulkiness. This fixes Mandibuzz receiving Life Orb,
and Greninja receiving Leftovers, with 3 attacks.
2015-06-20 17:01:15 +04:00
Ivo Julca
2bae97db67 Battle Factory: support similar sets' sharing probability mass 2015-06-14 01:15:32 -05:00
The Immortal
e9006768f0 Merge pull request #1955 from SolarisFox/patch-5
Randoms: Allow Mono-Attack Setup with BP, change Venomoth movepool
2015-06-13 22:35:12 +04:00
SolarisFox
63a3eb20c5 Randoms: Allow Mono-Attack Setup with BP 2015-06-13 11:20:48 -07:00
The Immortal
ca581b9e29 Random Battle: Prevent Zen Headbutt with Psyshock 2015-06-13 18:59:58 +04:00
Guangcong Luo
cf112d1d3c Merge pull request #1945 from Slayer95/jscs-rules
Implement custom JSCS rules to enforce code style
2015-06-13 06:18:24 +00:00
The Immortal
5e079da138 Random Battle: Give Wobbuffet a chance to get Custap Berry 2015-06-13 03:00:03 +04:00
Ivo Julca
f18eef39ca Fix Travis build 2015-06-12 03:41:22 -05:00
The Immortal
ae94ce4cc2 Update CC formats
Per Smogon, “Challenge Cup” is keeping its old meaning. Renaming the
new CC to Hackmons Cup.
2015-06-10 13:35:39 +04:00
Ivo Julca
26680768eb Properly handle failure of multitarget moves
- On failure, they will no longer trigger the `AfterMoveSecondarySelf` event. It was a common pattern to check for success on its handlers, so this removes some duplication.
- All failed moves will now run any set `MoveFail` single events.
- Life Orb will now harm the holder if a successful attack did 0 damage (e.g. False Swipe on a 1 HP target).
2015-06-09 19:31:11 -05:00
The Immortal
6d904e9096 Random Battle: Fix Megas being removed in d279b2ded5 2015-06-03 23:13:02 +04:00
Kevin Lau
d279b2ded5 Restrict Stealth Rocks on Random Battle Teams to 2
Refactor set generation function to use a new parameter `teamDetails` to
keep track of more than just whether there shouldn't be a Mega Evolution.
2015-05-31 17:52:42 -07:00
Guangcong Luo
b7aa629703 Merge pull request #1889 from ascriptmaster/move-fixes-2
Battle refactor: New function isGrounded(), bug fixes
2015-05-26 07:09:19 +00:00
Kevin Lau
61996d3f6e Battle refactor: New function isGrounded(), bug fixes
Added BattlePokemon#isGrounded to check for the grounded-ness of a
Pokemon. Also BattlePokemon#isSemiInvulnerable for whether a Pokemon is
in the first turn of a two-turn move that makes them semi-invulnerable.

Fixed Terrain bugs involving Pokemon in a semi-invulnerable state.

Changed OHKO move check to use BattlePokemon#isSemiInvulnerable, fixing a
graphical bug that would display an immunity message when a Pokemon
attempted an OHKO move on a higher-leveled Pokemon that was being held by
the effect of Sky Drop.

Fixed Misty Terrain bug that was causing Rest and the effect of Yawn to
put Pokemon to sleep.

Fixed Misty Terrain bug that was causing Yawn to fail.

Fixed Electric Terrain bug that was causing Yawn to succeed.
2015-05-21 16:54:44 -07:00
Kevin Lau
17724c59f0 Un-hardcode Rock Head in favor of an onDamage handler
Instead of having a hardcode in scripts.js that people needed to
reference, it seemed more intuitive to take advantage of the Damage
event instead, and have Rock Head negate damage within the event.

Fixed a bug in Gen-NEXT Rock Head exhibiting the same behavior that
was causing the original Rock Head + Mummy glitch.
2015-05-21 13:52:02 -07:00
Guangcong Luo
1824125753 Merge pull request #1887 from SolarisFox/patch-5
Style fix: indexOf() comparisons
2015-05-20 18:59:18 +00:00
Marty-D
0e2606b9b9 Fix failure message showing for self effects 2015-05-20 10:45:17 -04:00
Kevin Lau
276f5ff475 Random Doubles Battle: Item Distribution Update
- Removed Trick/Gyro Ball checks as no Pokemon uses that combination.

- Reject Life Orb on Pokemon with 55 or less base Speed.

- Add a check for slow and strong Regenerator Pokemon to receive Assault
  Vest, at slightly higher priority than Sitrus Berry.
2015-05-19 16:02:47 -07:00
Marty-D
c1a1ce85df Fix failure message showing for secondary effects 2015-05-19 15:49:45 -04:00
SolarisFox
29b961ff69 Style fix: indexOf() comparisons 2015-05-18 15:55:57 -07:00
The Immortal
fca467c76d Random Battle: Give Aegislash a better item
No more Assault Vest Aegislash!
2015-05-16 23:06:49 +04:00
Marty-D
27db03ebef Battle Factory: Fix Thick Fat resistances 2015-05-15 21:52:07 -04:00
Kevin Lau
b4ccff60dd Fix npm build errors 2015-05-15 01:08:25 -07:00
Ivo Julca
49b2898e28 Battle Factory improvements
- Reject teams significatively weak to a single attack type.
- Improve rejection of multiple megas.
- Reject weather-based abilities without their associated weather.
2015-05-14 16:10:51 -05:00
The Immortal
f7167c9393 Add new format: Battle Cup 1v1
In place of Challenge Cup 1v1. Challenge Cup 1v1 under the new Challenge
Cup rules (f73ea6a0ea) isn't a good
format. It's supposed to have some competitive element in that you can
make predictions on what an opponent might have to beat your "best"
choice and as a result you can counter-pick. But with the new Challenge
Cup, that goes out the window.

This adds a slightly updated version of the old CC generator.
2015-05-14 23:08:38 +04:00
The Immortal
f73ea6a0ea Update Challenge Cup
- CC now follows Hackmons mechanics to differentiate it from Random
further (in other words, CC is now Hackmons CC)
- Took this opportunity to finally rename CC 1v1
- Commented out Gen 1 CC
2015-05-12 13:48:14 +04:00
Guangcong Luo
8b7963e996 Merge pull request #1874 from ascriptmaster/tests
Upgrade tests
2015-05-12 06:25:38 +00:00
Rhythms
8ec0b193a4 Battle Factory: EV Fix
not really necessary, but "more proper"
2015-05-11 19:10:33 -06:00
Juanma Serrano
f9375a77a6 Merge pull request #1870 from Slayer95/battle-factory
Implement Battle Factory
2015-05-11 09:54:34 +02:00
Ivo Julca
3817311d9c Implement Battle Factory 2015-05-11 01:03:25 -05:00
Kevin Lau
93d5efef43 Status moves return -immune if the target is immune to the status move 2015-05-10 21:00:23 -07:00
Kevin Lau
c9c54ada16 Random Battle: Reject Toxic Spikes where Spikes is rejected
Prevents things like Shell Smash + Toxic Spikes.
2015-05-08 00:34:58 -07:00
Juanma Serrano
1a2882eb09 Remove March-April Seasonal, Super Staff Bros. 2015-05-04 17:35:21 +02:00
Marty-D
1209954765 Fix Sheer Force properly 2015-05-04 10:45:44 -04:00
Juanma Serrano
299213040d Fix Sheer Force
This adds the intended fix of bdd99e84d3 and fixes the problem that made all Sheer Force mons to ignore the AfterMoveSecondary event.
2015-05-04 12:15:09 +02:00
Marty-D
bdd99e84d3 Fix Sheer Force
- Sheer Force may not be user's Ability by the time `AfterMoveSecondary`
effects are checked
- Sheer Force boosted moves called by other moves now ignore
`AfterMoveSecondary` effects properly
2015-05-03 11:40:39 -04:00
The Immortal
bea648d979 Add tier changes 2015-05-03 09:35:05 +04:00
Marty-D
a92e38547f Fix Rock Head
- Since Mummy exists, it is entirely possible not to have Rock Head by
the time recoil happens
2015-05-02 15:05:42 -04:00
The Immortal
0000f4dfab Random Battle: Prevent Choice with Speed Boost
Fixes #1848
2015-05-02 13:35:51 +04:00
Joimer
5c9b7ed707 Remove unused team makers 2015-05-01 05:08:33 +02:00
Marty-D
c53d022e4b Fix OHKO moves
- Fix Gen 1/Stadium's accuracy and immunity order
- Fix OHKO moves ignoring Phantom Force
- Add OHKO messages
2015-04-30 13:06:45 -04:00
Slayer95
5788bf82b7 Merge pull request #1839 from Rhythms88/seasonal
Super Staff Bros.: Change Astyanax into Asty
2015-04-29 17:14:38 -05:00
Rhythms
fb9cc056b2 Super Staff Bros.: Change Astyanax into Asty 2015-04-29 16:12:56 -06:00
The Immortal
b270788e0d Merge pull request #1837 from SolarisFox/patch-4
add weakcoasta to randbats
2015-04-29 16:08:54 +08:00
SolarisFox
5f95a7cc3b add weakcoasta to randbats 2015-04-29 00:43:32 -07:00
The Immortal
8e6d7fd4c9 Merge pull request #1838 from Rhythms88/seasonal
Super Staff Bros.: Remove @Goddess Briyella.
2015-04-29 15:38:15 +08:00
Rhythms
0a57a27595 Super Staff Bros.: Remove @Goddess Briyella 2015-04-29 00:28:23 -06:00
Juanma Serrano
d44bfb3e92 Merge pull request #1823 from Rhythms88/master
Seasonal: Rank Changes
2015-04-27 08:45:03 +02:00
Ivo Julca
54c8c8a0ad Hackmons: fix decisions being overriden when Struggle is in the first slot 2015-04-26 17:36:36 -05:00
Guangcong Luo
4db053befe Revert "Show fail message when status is blocked by Sub"
This was implemented exactly the wrong way and showed fail messages
in a lot of situations they shouldn't show up, such as when
Close Combat's Def/SpD drops didn't happen.

This reverts commit 1edc40f936.
2015-04-25 21:58:09 -05:00
Rhythms
9b4c9617bb Seasonal: Rank Changes
- Promoted Acedia and Audiosurfer.
- Fixed one of Diatom's ranks.
- Moved shaymin's and MattL's moves to the correct areas, as well as
Acedia's and Audiosurfer's.
2015-04-25 13:15:40 -06:00
Juanma Serrano
9ace640bcc Merge pull request #1808 from RhythmsAreFromVibrations/seasonal
Super Staff Bros.: Add %Kayo
2015-04-25 14:57:08 +02:00
Kevin Lau
b55951d5db Random Battle: Slightly tweak Hidden Power rejection check
STAB Hidden Power without the Pokemon's other STAB can be bad. Since
there's no real way to check if the Pokemon has the other STAB with the
current system, it's better to remove that check.
2015-04-24 18:23:31 -07:00