Commit Graph

250 Commits

Author SHA1 Message Date
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