Commit Graph

415 Commits

Author SHA1 Message Date
The Immortal
e20060fa10 Update Random Battle 2014-12-19 00:46:21 +04:00
Guangcong Luo
2b80496baf Revert "Reject Rock Head with less than two recoil moves"
This reverts commit 4bc29710b4.
2014-12-18 15:35:29 -05:00
Guangcong Luo
132d55f840 Revert "Update Random Battle"
Don't remove Balloon Rotom-Fan without asking, that's just rude.
:|

This reverts commit fcaee25009.
2014-12-18 15:32:52 -05:00
Juanma Serrano
0114ad3dae Improve Seasonal with user suggestions
Improved the set maker to avoid bad sets due to Present.
Made the mountain 500 meters shorter.
Made the chance to hit an obstacle slightly lower.
Added weight to the sleigh that is lowered by throwing Presents and makes you faster.
2014-12-17 17:08:49 +01:00
The Immortal
4bc29710b4 Reject Rock Head with less than two recoil moves
in Random Battle
2014-12-17 13:41:59 +04:00
The Immortal
fcaee25009 Update Random Battle
- Added moves to Cherrim
- Changed levels
2014-12-17 13:33:32 +04:00
ascriptmaster
ad8a820d5b Update Balloon Fan Rotom (Rotom-Spin)
- Modified level scale so that it's less bad
- Removed Trick from its movepool because it's useless with Balloon
2014-12-17 00:18:10 -08:00
ascriptmaster
eb847519a3 Nerf Articuno in Random Battles
Reduced to Level 82.
2014-12-17 00:18:09 -08:00
ascriptmaster
6797a7b245 Reject Head Smash with Sturdy
Donphan is mostly going to have Sturdy, so we also remove it from its move
set and replace it with some better stuff.
2014-12-17 00:18:08 -08:00
ascriptmaster
469641c05e Don't give Normal Gem to Pokemon with Rapid Spin 2014-12-16 01:14:19 -08:00
Guangcong Luo
a95f2bcbe7 Merge pull request #1353 from asgdf/patch-12
Fix MRay to count as a mega in randbats team
2014-12-12 01:19:59 -06:00
asgdf
98cc285002 Fix MRay to count as a mega in randbats team 2014-12-12 02:22:41 +01:00
Juanma Serrano
608086189d Improve Seasonal Sleigh Showdown
Eliminate megas from teams.
Make freeze from event make you unable to move that turn.
Freeze thawing was meant to be when hit, not after a turn after all. Fixed comment.
2014-12-11 13:50:32 +01:00
asgdf
13139b4ec3 fix moves[] containing non-id move names 2014-12-10 20:45:47 +01:00
Juanma Serrano
1b75007647 Implement new Seasonal Ladder, Sleigh Showdown 2014-12-10 18:01:39 +01:00
Marty-D
8c2b18c622 Fix forced switch mechanics.
- Red Card and Eject Button do not activate if the holder is being
forced out.
- Circle Throw, Dragon Tail, Roar, and Whirlwind cannot attempt to force
out a Pokemon with no inactive unfainted allies.
2014-12-06 11:53:26 -05:00
The Immortal
b64287b64f Prevent Flare Blitz with Fire Blast in Random Battle 2014-12-06 16:31:15 +04:00
The Immortal
37fd088915 Random Battle updates 2014-12-06 16:25:00 +04:00
Guangcong Luo
151b7ea61a Merge pull request #1334 from ascriptmaster/primal
Ability refactor - Abilities now receive End events properly
2014-12-03 16:43:29 -06:00
ascriptmaster
e79e64e3fc Ability Refactor: Abilities now listen for End events
Added functionality for setAbility to send End events to abilities.

Fixed bug with Mold Breaker negating all Battle#singleEvent ability calls,
even those that don't involve damage calculation.

Fixed Skill Swap to now use End and Start events in the right order:
send the End events, then change the abilities, then send Start events.
If the same ability is swapped, don't send End events (the game simply
re-activates the abilities in question)

Moved SwitchOut/Faint events from weather to ability so the weather
can interact properly with Cloud Nine or Air Lock.

Primal weathers persist if a Pokemon with the relevant ability is
on-field, even if the originator switches out.
2014-12-03 12:22:21 -08:00
Ivo Julca
01de2eadf9 Magician's handler is now purely a global event
Reverts 3b5d455
2014-12-02 20:25:02 -05:00
Joimer
d3b233d8ac Update the Mega Pokemon check
There is no need to store whether the team has a mega anymore.
With the general use of pokemon.canMegaEvo and it being set to false for
the whole team after a mega evolution, it is what we need to check to avoid
more than one mega evolution or banned mega evolutions.
2014-11-29 23:58:27 +01:00
ascriptmaster
b6fcb793dc Mega Evolution now ends primal weathers from base form
Sends an EndAbility event when you mega evolve so the weather can check.
2014-11-26 12:58:56 -08:00
The Immortal
e2af6d65cc Fix Travis CI errors 2014-11-22 19:25:33 +04:00
The Immortal
bcf19608c9 Update Mega Rayquaza
Rayquaza does not have a mega stone; it can mega evolve with the move
Dragon Ascent.
2014-11-21 16:26:56 +04:00
The Immortal
1b302c7117 Random Battle: Prevent Flame Charge with Tailwind 2014-11-15 23:53:08 +04:00
Juanma Serrano
26c03e50f3 Update Seasonal Strikes Back: Add safeguard against hash collision
There's an improbable chance that a nickname gets a hash collision.
In such a case, the player gets five instead of six Pokémon.
This safeguard prevents that improbable event from happening at all.
2014-11-11 18:30:59 +01:00
ascriptmaster
15b04f0a8a Fix every error in the Travis CI Build / npm test 2014-11-10 10:57:38 -08:00
Joimer
2ff379f51e Implement november seasonal, Seasonal Strikes Back
Seasonal format is a random battle format that changes its rules monthly.
It often includes limited Pokmon pools, wacky mechanics you'd never encounter in game, and other fun stuff.
2014-11-10 11:34:12 +01:00
Joimer
6b10f3961d Exclude Magikarp's Revenge from Smeargle's movepool in Challenge Cup 2014-11-10 01:02:30 +01:00
Ivo Julca
d5b7034da1 Remove unnecessary checks for sound immunity
As of ecbc9bfd62, no effect provides an "immunity" to sound.
2014-11-05 21:26:25 -05:00
Audiosurfer
3d66859182 edit to random doubles item generation 2014-10-29 21:06:41 -05:00
The Immortal
e304345fe1 Modify Articuno's Random Battle level 2014-10-23 02:39:14 +04:00
Guangcong Luo
ffcce9d746 Randbats ORAS level-balance update
Groudon-Primal, Kyogre-Primal, and Rayquaza-Mega are now level
70 in randbats
2014-10-21 16:43:11 -04:00
Guangcong Luo
fd23027573 Fix level scaling for unreleased megas
Reverts f4cd04a651
2014-10-21 02:38:30 -04:00
Guangcong Luo
623ff87f74 Merge pull request #1265 from ascriptmaster/skydrop-patch
Sky Drop refactor and bug fixes
2014-10-19 23:23:53 -05:00
ascriptmaster
2ffaf0fc77 Sky Drop refactor and bug fixes
- Changed Sky Drop to use onTryHit on its first hit as well as its second,
  allowing it to check for Protect and Fly naturally.

- Added messages when a Pokemon is freed from Sky Drop.

- Allow Flying-type Pokemon to be hit by Sky Drop if their Ground immunity
  has been removed.

- Added BeforeMovePriority to allow Sky Drop to interact with Stance
  Change properly.

- Prevent a Pokemon trapped by Sky Drop from Mega Evolving.

- Added onRedirectTarget to allow Sky Drop to interact with Ally Switch
  properly.
2014-10-19 20:15:16 -07:00
The Immortal
26e882c976 Set even HP for Belly Drum + Sitrus Berry Pokemon in Random Battle 2014-10-20 01:07:17 +04:00
The Immortal
f4cd04a651 Set unreleased forms to the same level as the regular form in Random Battle 2014-10-19 17:06:16 +04:00
The Immortal
f3acd8bbd4 Fix crash 2014-10-18 19:18:05 +04:00
The Immortal
a72edc4ad1 Implement Primal Reversion 2014-10-18 19:10:17 +04:00
The Immortal
69e9d3d52f Fix Primal formes in Random Battle 2014-10-18 17:33:33 +04:00
The Immortal
db24264fae Change Lightningrod to Lightning Rod
It has been changed in ORAS.
2014-10-16 15:15:15 +04:00
Audiosurfer
38d915c7e3 resist berries only chosen for 4x weak in randdubs
made it so that shuca berry and chople berry will only be selected in randdubs in the case of a 4x weakness as opposed to being potential item picks for 2x or 4x weaknesses
2014-10-07 23:49:05 -05:00
Relados
cee46bb34c Prevent Life Orb with HP reliant attacking moves
Pokemon that have Eruption or Water Spout should not generate with Life Orb in random battles.
2014-10-07 00:24:40 -04:00
Ivo Julca
64f22e4fd4 Fix Mega check in b078d698 2014-10-03 13:36:28 -05:00
Ivo Julca
12bafc7036 Merge pull request #1223 from Audiosurfer/master
Conflicts:
	data/scripts.js
2014-10-03 13:31:34 -05:00
Audiosurfer
b078d698fe changes to random doubles item generation
- added charti & occa for 4x weaknesses
- made yache only for 4x weaknesses
- made it so you cant have fake out & sheer force (9-21-14)
- changed it so shuca berry and chople berry won't be added to
immunities
- unburden mons only have normal gem if they have fake out as opposed to
any normal attacking move
- made life orb more common over expert belt

fixed error in shuca generation

typoed, but fixed it so now it should only give shuca berry to pokemon
without a ground immunity

fixed broken indentation

fixed issues pointed out by slayer95

should have fixed the indentation and edited the  immunity check
2014-10-02 17:27:32 -05:00
The Immortal
c09498b58f Give Belly Drum Pokemon Sitrus Berry in Random Battle 2014-10-03 01:09:18 +04:00
The Immortal
84fedef174 Prevent Fake Out with setup in Random Battle 2014-10-01 20:05:44 +04:00