Commit Graph

7569 Commits

Author SHA1 Message Date
The Immortal
0b9dea9a74 Merge pull request #1563 from ascriptmaster/randoms-2
Random Double Battle: Update Groudon, Volcanion, Seviper
2015-02-27 01:29:29 +04:00
Kevin Lau
50446bcb1a Random Double Battle: Update Groudon, Volcanion, Seviper
Use Sludge Bomb over Sludge Wave since Sludge Wave hits allies.

Use Precipice Blades instead of Earthquake because it only hits foes.
2015-02-26 13:24:28 -08:00
The Immortal
9157095188 Random Doubles: Change Volcanion's Sludge Wave to Sludge Bomb 2015-02-27 00:55:15 +04:00
The Immortal
14acfc7d30 Merge pull request #1562 from ascriptmaster/move-fixes
Update Unburden test
2015-02-27 00:31:25 +04:00
Kevin Lau
76484211b0 Update Unburden test
Using Leaf Storm gave the test a 10% chance to fail if it missed.
2015-02-26 12:27:31 -08:00
The Immortal
b1c39356af Random Battle: Prevent Rain Dance and Sunny Day together
Affects Castform.
2015-02-27 00:23:00 +04:00
Guangcong Luo
0bce4b3c7b Merge pull request #1560 from ascriptmaster/move-fixes
Item Removal Fixes
2015-02-26 13:57:41 -06:00
The Immortal
a2e3d88984 Add new event Pokemon 2015-02-26 15:42:49 +04:00
The Immortal
cd65607427 Remove OU suspect test 2015-02-26 09:17:56 +04:00
Kevin Lau
aaea0556f7 Fix Pickup to use correct behavior
Pickup was not retrieving items consumed by allies, was picking up items
from nonadjacent foes, and had a chance of failing to retrieve an item
from a foe if the other one had not used its item that turn. Pickup now
queries all eligible Pokemon before randomly choosing one of the items to
pick up, instead of choosing the target before checking whether it had an
item that could be retrieved.
2015-02-25 20:19:09 -08:00
Kevin Lau
3306b02b48 Fix Unburden/Symbiosis interaction with Natural Gift/Air Balloon/Fling
Switched Unburden's onUseItem handler to onAfterUseItem instead, and set
Natural Gift, Air Balloon and Fling to send AfterUseItem events when the
items are removed. Sending these events also has the side effect of fixing
some of the functionality with Symbiosis not giving items when these moves
consume their items.
2015-02-25 19:23:01 -08:00
Kevin Lau
45a43e0e8c Remove irrlevant events from Mold Breaker suppression
There are currently no abilities negated by Mold Breaker that use the
EatItem or UseItem events. This fixes Mold Breaker's interaction with
Cheek Pouch.
2015-02-25 19:13:38 -08:00
Kevin Lau
e27e7de08a Fix Knock Off + Mail interaction
Change Mail's onTakeItem handler to allow Knock Off to remove it using
Battle#takeItem. This prevents Mail from being recycled and lets it
trigger Unburden.
2015-02-25 19:13:36 -08:00
Kevin Lau
7cb80c7937 Add Item Removal tests
Added tests for Unburden, Pickup, and Mail.
2015-02-25 19:13:33 -08:00
The Immortal
cc85aa1eb3 Add new bans for PU and Tier Shift 2015-02-25 21:15:30 +04:00
Marty-D
de4aff2f55 Gen III: Wish comes before weather damage 2015-02-24 15:25:35 -05:00
Marty-D
6ebb25d142 Gen II, IV: Fix (Hi) Jump Kick crash damage
Gen 2: 1/8 potential damage, not capped; no damage if target is immune
Gen 4: damage is 1/2 target's max HP if it is immune
2015-02-24 10:06:32 -05:00
The Immortal
e3ef841a98 Random Battle: Give Deoxys-Attack Life Orb
It currently gets Leftovers if it has Stealth Rock, and has a chance of
getting Expert Belt as well, but it should never get any other item. It
is a special case because there isn't a glass cannon as extreme as this.
2015-02-24 19:03:45 +04:00
Guangcong Luo
68f3482391 Merge pull request #1551 from Slayer95/dependencies
Update dependencies
2015-02-23 15:34:39 -06:00
The Immortal
499364050e Few Random Battle updates
- Prevent too many Dark-type moves
- Modify custom levels
2015-02-23 19:50:22 +04:00
Ivo Julca
253c2b951e Update dependencies 2015-02-23 04:14:30 -05:00
The Immortal
d4917938ce Random Battle: Increase Aegislash's level 2015-02-23 05:16:37 +04:00
The Immortal
6ef03fc4ea Update /tiers 2015-02-23 04:46:33 +04:00
The Immortal
9a0820a95f Merge pull request #1555 from ascriptmaster/randoms
Random Battle: Don't count Rapid Spin as a Technician move
2015-02-23 04:43:48 +04:00
The Immortal
ab4fe73c9c Random Battle: Do not count Quick Attack as STAB
It is not acceptable as the only STAB move because it is a 40 base power
Normal-type attack... No Normal-type Technician gets it either, unlike
other priority moves.
2015-02-23 04:42:17 +04:00
Kevin Lau
6c291a3051 Random Battle: Don't count Rapid Spin as a Technician move
Affects Hitmontop, since if its only Technician move is Rapid Spin it'd
much rather prefer Intimidate as an ability.
2015-02-22 15:49:20 -08:00
The Immortal
ec7bd69174 Add UU suspect test 2015-02-23 03:06:57 +04:00
The Immortal
f500da9767 Random Battle: Give Leftovers to Clear Smog users
It's used on defensive Pokemon that shouldn't get Life Orb, Choice or
Expert Belt. Also removed checks that where added because of the old
Weakness Policy selection.
2015-02-23 01:15:32 +04:00
Guangcong Luo
71d584c51b Merge pull request #1553 from xfix/npm-install-production
Use --production flag for npm installation
2015-02-22 14:54:22 -06:00
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
Konrad Borowski
40e5712263 Use --production flag for npm installation
This doesn't pull dev dependencies, not forcing people to install git
in order to install `gulp-jshint`.
2015-02-22 10:28:32 +01: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