Commit Graph

329 Commits

Author SHA1 Message Date
Relados
dc5efad439 Prevent U-Turn and Volt Switch together (again)
TI said to remove this segment previously, but evidently the problem still persists because I got 3 pokemon with both moves in the same battle, which was completely useless.
2014-03-30 20:35:36 -05:00
Relados
4069035014 Prevent multiple recovery moves 2014-03-26 20:31:51 -05:00
Relados
c59ca53b2a Allow Knock Off on setup pokemon
With new Knock Off mechanics, sets like Swords Dance Knock Off Weavile is useful
2014-03-26 09:43:30 -05:00
Relados
4ab16d4293 Prevent Moxie on Pokemon without physical moves
It's literally useless - even Unnerve is more useful in that case.
2014-03-25 18:54:42 -05:00
Relados
c0c756ae16 Make Gourgeist have proper probability to show up 2014-03-25 17:06:02 -05:00
Relados
0844a7ccb6 Prevent high bulk pokemon from having Focus Sash
I chose 300 as a sum of Defense, Special Defense and HP that would designate a high bulk Pokemon, due to being just below Dusknoir's sum of the three and I was getting Focus Sash Dusknoir, which is rather subpar.  The number could be changed if there's any better way to designate bulk.
2014-03-25 11:40:34 -05:00
V4Victini
d65812aa21 Pokemon cannot Mega Evolve while locked into a move 2014-03-25 11:18:21 -04:00
Relados
8bae051bb4 Prevent Unburden Normal Gem Explosion 2014-03-20 18:24:21 -05:00
Relados
823793367d Prevent Stone Edge and Rock Blast on same set 2014-03-19 18:43:45 -05:00
Relados
c5c1c55420 Prevent Life Orb and Sturdy on the same set
Life orb renders Sturdy a next to useless ability.
2014-03-19 17:07:58 -05:00
Relados
1f74d5bbf3 Prevent Psychic and Stored Power on the same set
If you have stored power, you have the boosting moves to make it viable, and having psychic as well is redundant.
2014-03-14 06:56:31 -05:00
Relados
564ded1523 Prevent Tinted Lens and Wonder Skin on Sigilyph
Sigilyph's randoms moveset is built solely for use with Magic Guard, and without being able to automatically pass on status, Tinted Lens Sigilyph is pretty much just a free switch in and set-up fodder for a dark type.  Wonder Skin is even worse in that it reduces the need for Psycho Shift.
2014-03-13 18:36:32 -05:00
Relados
2251fa53b6 Prevent Sturdy and Life Orb on same set in randoms
It effectively negates the ability to have both together.
2014-03-12 16:03:29 -05:00
Relados
8032d0ece6 Remove U-turn rejection 2014-03-11 11:55:04 -05:00
Relados
8d06420d04 Prevent Volt Switch and U-Turn on same random set
There's little reason to have both.
2014-03-11 11:11:45 -05:00
Juanma Serrano
0ac16153f1 Delete Seasonal
This was the last Seasonal.
New OM Theorymon ladder it's going to take its place.
2014-03-04 10:01:11 +01:00
The Immortal
21af385043 Fix previous commit 2014-02-27 02:12:39 +04:00
Relados
cc06c1db9f Prevent Bulldoze and EQ on same set in randoms
Must've accidentally misclicked or something on the last request >_>
2014-02-26 16:07:08 -06:00
Guangcong Luo
aa11e73178 Merge pull request #681 from TalkTakesTime/patch-1
Update Doubles randbats team creation
2014-02-25 10:41:15 -06:00
Relados
0373475959 Remove mega Lati@s from random battles
Mega Lati@s should not be usable right now.  (I've also gotten reports of them in hackmons, not sure how that should be dealt with)
2014-02-23 20:39:57 -06:00
TalkTakesTime
5deaa594c6 Prevent AfterMoveSecondary from activating if the move hits a sub 2014-02-23 16:59:56 +13:00
TalkTakesTime
b6d8d850b6 Update Doubles randbats team creation 2014-02-23 15:08:56 +13:00
V4Victini
7511d8ef05 Revert "Prevent AfterMoveSecondary from activating if the attack is taken by a Substitute"
This reverts commit 4c15f252e9.
2014-02-22 13:26:00 -05:00
TalkTakesTime
4c15f252e9 Prevent AfterMoveSecondary from activating if the attack is taken by a Substitute 2014-02-22 18:27:46 +13:00
The Immortal
f0f78cc609 Randbats generator changes
Poison types with Air Balloon prevents them from absorbing Toxic Spikes
2014-02-21 22:34:56 +04:00
The Immortal
6b8339d7a4 selfdestruct faints in gen 6 2014-02-18 20:06:19 +04:00
Relados
393c02e1f0 Remove Limber as randbats ability for Stunfisk
Limber on Stunfisk is completely useless and shouldn't occur.
2014-02-17 15:52:56 -06:00
The Immortal
bad541a276 Revert previous change
Apparently Rotom doesn't need the moves
2014-02-15 22:47:49 +04:00
The Immortal
2c1cb9cd1c Rotom formes require their special move 2014-02-15 15:46:08 +04:00
V4Victini
1009bd789e Update scripts.js 2014-02-12 23:10:41 -05:00
V4Victini
faafc592a4 Remove redundancy in moveKeys
If any of the following moves are in the list of viable moves already, do not add Protect to the list.
- Protect
- Detect
- King's Shield
- Spiky Shield
2014-02-12 22:32:43 -05:00
Joimer
b723a3c5c8 Fix possible bug in Random Doubles Battles team maker 2014-02-12 20:18:31 +01:00
Juanma Serrano
e4afb28c8f Random Battles: Limit status on tn the same moveset
One moveset should only have one status.
Priority is as follows:
Sleep is the most important. Next comes paralysis, then burn, then toxic.
2014-02-11 14:07:52 +01:00
Relados
fa00e44628 Making Mega Mawile start with Intimidate
Forcing a Mawile with the Mawilite to have Intimidate rather than Sheer Force
2014-02-10 19:56:24 -06:00
Juanma Serrano
5f6f82eaf9 Random Doubles Battle: Add an EV allocation fallback 2014-02-10 14:45:51 +01:00
Juanma Serrano
99e9b8cece Random Doubles battle: Allocate EVs properly 2014-02-10 14:41:57 +01:00
Juanma Serrano
43a5be411c Implement Random Doubles Battle
This commit implements the Random Doubles Battle format,
a format awaited by hundreds of players.
This first version uses singles viable moves for the movepool
while Doubles team works on the project of gathering viable
moves for all Doubles Pokémon.

The team maker and set maker are slightly different,
choosing items and abilities more useful in doubles, capitalising
less on tiering and more on BST, and changing move priorities.

This is a first version that should be kept updated with new
and better mechanics for its own Team Making algorithms.
2014-02-10 14:28:16 +01:00
TalkTakesTime
cc9d0b2711 Fix randbats allowing sets with no damaging moves 2014-01-31 22:36:36 +13:00
Juanma Serrano
c00e274e0f Implement new Seasonal, Fabulous Febrruary 2014-01-30 14:26:33 +01:00
Guangcong Luo
d9a077a62e Fix some stray bugs with move redirection 2014-01-28 20:16:10 -08:00
Guangcong Luo
9260027571 Stop ally-target moves from redirecting on faint
Moves targeting allies would retarget on faint in doubles; this
commit fixes that.
2014-01-28 19:00:34 -08:00
Guangcong Luo
468be24e14 Slight refactor of move target change code
Mostly this updates the comments to make it clear why target updating
happens twice.
2014-01-28 20:43:52 -05:00
TalkTakesTime
51121fde78 Correct randbats chances for Genesect/Arceus 2014-01-28 15:09:30 +13:00
TalkTakesTime
3ba5c66e2a Remove whitespace 2014-01-23 23:22:46 +13:00
TalkTakesTime
c41cc6aff0 Fix randbats allowing multiple formes of one species 2014-01-23 23:19:33 +13:00
Juanma Serrano
9701f7c528 Pokémon cannot mega evolve while recharging 2014-01-21 13:50:24 +01:00
Guangcong Luo
c8f3c5ef2e Knock Off activates after Weakness Policy 2014-01-19 20:36:14 -08:00
Joimer
22648434da Random Battles: Forbid Trick Room with Agility as well 2014-01-14 14:11:19 +01:00
Joimer
17e363a100 Random Battle: Reject Trick Room on Rock Polish sets for mons with both 2014-01-14 10:02:25 +01:00
Joimer
a7b0e634fc Random Battles: Forbid HP Ice if Icy Wind is on the moveset 2014-01-14 10:01:03 +01:00
Guangcong Luo
7255f8e4f9 Remove CAPs from Random Battle 2014-01-12 00:15:28 -08:00
V4Victini
1052b211f3 Power Gem is now considered a valid STAB move
80 Base Power in Gen 6
2014-01-09 10:01:25 -05:00
Guangcong Luo
7997058188 Randbat: Make Red Card the fallback Unburden item 2014-01-08 12:22:50 -08:00
Joimer
6eb472162d Fix typo on previous commit 2014-01-08 16:49:28 +01:00
Joimer
911e7147db Random Battles: Add Eviolite to Dusclops
It's useless without it and it's tiered higher than Dusknoir thanks to it.
2014-01-08 16:35:09 +01:00
Joimer
53566ecab4 Random Battles: Add Weakness Policy
Add Weakness Policy item for those Pokémon that are hit super effectively
but have enough bulk to withstand it.
2014-01-08 16:34:21 +01:00
Joimer
9145acb106 Random Battles: Added Assault Vest
Assault Vest is given on mid to low priority to Pokémon with four
attacking moves and a combined defenses base stats of over 179.
2014-01-08 16:28:55 +01:00
Joimer
2b39c85f96 Update Random Battles set maker
Give Rocky Helmet to Rough Skin users on a medium priority.
Add more comments.
Remove Custap Berry as it's unreleased.
Add leftovers as the item of choice for Spiritomb as a defensive mon.
2014-01-08 16:24:31 +01:00
Joimer
5fe6c57914 Random Battles: Remove Gems from the set make but Normal Gem 2014-01-08 16:12:34 +01:00
Joimer
ef5cc4ef13 Random Battle: Add Spe EVs for TR and Gyro Ball users
Trick Room mons are on disadvantage unless this is active.
Trick Room needs a set up turn.
If no EVs are given, Trick Room and Gyro Ball mons are simply at
disadvantage. Even if Gyro Ball hits hard, it's at the mercy of OHKOs
or switch-in 2HKOs.
2014-01-08 15:50:18 +01:00
Joimer
0ae545476d Random Battles: Limit Mega formes to one per team 2014-01-08 15:34:00 +01:00
Joimer
2b3868a7a7 Random Battles: Make Brave Bird the Flying-type move of preference 2014-01-08 15:26:35 +01:00
Guangcong Luo
1acb1562a3 Randbat: Power Herb Geomancy, more level adjustments 2014-01-08 03:06:17 -08:00
Guangcong Luo
deba981c28 Randbat level adjustments 2014-01-08 03:03:22 -08:00
Guangcong Luo
e22303184b Update randbat level scaling exceptions for gen 6 2014-01-08 02:54:50 -08:00
Guangcong Luo
191a53417e Random Battle: Give Mega Stones were appropriate 2014-01-08 02:54:50 -08:00
Guangcong Luo
71b357194b Upgrade formats-data to gen 6 tiers
Randbats have also been updated for them
2014-01-08 02:54:50 -08:00
V4Victini
3bfc21c12e Set canMegaEvo flags false after Mega-Evolution 2014-01-06 13:56:00 -05:00
Joimer
ad8b89b124 Implement new Seasonal: Winter's Wont 2014-01-03 17:37:53 +01:00
Guangcong Luo
99461de893 Fix Parental Bond Snore 2013-12-10 19:29:25 -08:00
Joimer
ace822cf12 Implement new Seasonal, Christmas Charade 2013-12-04 10:46:44 +01:00
Joimer
3b5d45590a Add the possibility for abilities to run onHit events for both attackers
Just as with moves, add the same possibility to abilities so onHit is
run on both sides, allowing new ability effects to be added.
2013-11-27 17:01:01 +01:00
Juanma Serrano
25c56a0293 Nerf Talonflame in Seasonal
Lower its level as it is too powerful.
2013-11-19 17:30:59 +01:00
Slayer95
d94323f3b4 Properly make unattacking pkmn unlikely in randoms 2013-11-15 21:00:51 -05:00
Joimer
b418a84e7e Implement "new" Seasonal, Thankless Thanksgiving 2013-11-04 10:46:22 +01:00
Slayer95
b2909e5398 In CC, properly reduce chance for getting Mega Stone 2013-11-03 00:34:13 -05:00
Guangcong Luo
683dac63f1 Upgrade a bunch of formats to gen 6 2013-10-30 16:09:46 -07:00
The Immortal
ce4519f0e3 Add accurate Mega Evolution message
Needs to be added to the client in the future, in addition to (using
Blastoise as an example):

The opposing Blastoise has Mega Evolved into Mega Blastoise!

- It doesn't mention X/Y for Charizard/Mewtwo
2013-10-29 19:41:53 +04:00
Joimer
0ba0df3141 GP 1/2 comment in randbat team generator 2013-10-28 09:53:17 +01:00
Guangcong Luo
2354305bf9 Mega evolution ability change is permanent 2013-10-24 20:41:15 -07:00
Bill Meltsner
6df6d3c8d9 Implement Terrain, and update Camouflage and Nature Power accordingly.
Terrain is basically a copy/paste of weather code right now.
2013-10-24 02:09:45 -07:00
Bill Meltsner
45f0821eb7 clearer logic for blocking gen 6 from randbats 2013-10-24 00:00:47 -07:00
Bill Meltsner
c3ea68d75b Fix random battles. 2013-10-23 23:56:06 -07:00
Slayer95
9945badaa2 Improve sixth gen check in random team builder
Since tier classification has begun, being in Limbo is not a necessary condition for being in 6th gen anymore.
2013-10-23 16:18:00 -05:00
Bill Meltsner
57f5772f69 Update moves and abilities with changed names, including High Jump Kick and Feint Attack.
This probably won't blow up in our faces.
2013-10-22 23:56:03 -07:00
Guangcong Luo
d595c5ae15 Properly activate abilities after Transform 2013-10-19 18:45:57 -07:00
Guangcong Luo
31fd8ea76a Implement mega evolution 2013-10-19 16:08:54 -07:00
The Immortal
3576508db4 Change "Dream World" to "hidden" abilities
- Removed dreamWorldRelease and added unreleasedHidden
- Replaced maleOnlyDreamWorld with maleOnlyHidden
- Replace 'DW' ability with 'H' ability
- Changed isDW variable to isHidden
2013-10-19 00:25:02 +04:00
Slayer95
0ae8775686 Check for Limbo and CAP tiers in team building. 2013-10-11 17:46:08 -05:00
Guangcong Luo
3cc455f275 Default gen is now 6 2013-10-11 09:22:03 -07:00
Slayer95
f543568d90 Remove a variable not needed anymore 2013-10-08 01:24:19 -05:00
Slayer95
174abedf22 Fix Octoberfest set builder
Pokémon could lack Trick if they would have gotten it as their third movement from randomSet. This is now properly dealt with. (Note that no OF-pokémon gets Present from randomSet.)
2013-10-08 01:18:00 -05:00
Joimer
febcdf2233 Add checkAbilities function to scripts
This function checks the selected abilities against default abilities.
It's used on Ability Exchange.
2013-10-01 12:11:51 +02:00
Joimer
72ab2ec5b3 Add new October Seasonal: Octoberfest 2013-10-01 11:57:04 +02:00
Guangcong Luo
b5fc8c7032 Fix three-move Jolteon 2013-09-28 22:02:23 -07:00
Slayer95
5e2c665b1c Fix typo in random set builder 2013-09-06 19:07:54 -05:00
Joimer
9d92b0ab5c Seasonal Ladder: Improve default team for repeated Pokémon
Improve the default team when there's a repeated Pokémon so
players aren't in disadvantage due to a system flaw.
Also use a better way to not to repeat Pokémon formes.
2013-09-04 13:07:12 +02:00
Joimer
606081644c Seasonal: Change variable name 2013-09-04 09:28:56 +02:00
Joimer
28a1462c77 Seasonal: Improve team maker 2013-09-04 09:24:31 +02:00
Joimer
8bdc090fc8 New Seasonal: Don't let team maker repeat Pokémon 2013-09-01 11:54:41 +02:00