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
Joimer
f33ff063ab
New seasonal: Make sure templates with baseSpecies resort to it
...
Make sure in case of repeated numbers of species with formes
the baseSpecies is chosen.
2013-09-01 11:48:27 +02:00
Joimer
b6e48e283f
Add new Seasonal, School Schemes
2013-09-01 11:26:56 +02:00
小太
f2f973fe29
Obliterate trailing whitespace
2013-08-18 21:33:15 +10:00
Joim
588df751dd
Improve seasonal team maker
...
Imrpove Average August's team maker taking into account player's feedback on the Seasonal.
2013-08-05 09:54:07 +02:00
Joim
cf29c4ab0c
Improve balance and move choose in Average August
...
The balance right now allows to Kyogre's pirates to win more easily. Fix that and make sure moves are correct.
2013-08-01 13:27:45 +02:00
Joimer
baad1dff93
Add new Seasonal, Average August
...
The previous month's Seasonal, Jolly July, has joined the orphan branch of old-seasonals while we welcome the new Seasonal for the month of August.
2013-08-01 13:01:09 +02:00
Guangcong Luo
ba2610825d
Encore shouldn't change target if move isn't changed
2013-07-29 00:30:20 -07:00
Guangcong Luo
4cff590d6a
Crash more gracefully when a bad name is passed to randomSet
2013-07-04 15:33:11 -07:00
Joimer
cb5b1b6aa3
Seasonal: Remove illegal Pokémon
...
Castform-Sunny forme and Darmanitan-Zen do not have random sets and are illegal, defaulting in Unown, thus shall be removed.
2013-07-05 00:24:58 +02:00
Joimer
723920e260
Add new Seasonal, Jolly July
...
Add the new Seasonal for this month, Jolly July, which features summer and independence days as well as a world travel.
2013-07-04 23:58:19 +02:00
Guangcong Luo
10a69642f7
Fix crash in old Substitute system
2013-07-01 19:54:06 -07:00
Jay2645
c46ea5da3a
Circle Throw is treated like Dragon Tail
2013-06-29 23:57:39 -07:00
Jay2645
2098ea8c7f
Random Battle Choice Scarf fix
2013-06-29 23:15:40 -07:00
Jay2645
129be4e91a
Fixed case where a Pokemon could get Baton Pass without having anything to pass. Also added check for recoil moves before adding Focus Sash and allowed Choice Band/Choice Specs to be considered if you have Trick or Switcheroo and 3 attacking moves of the same category.
2013-06-29 22:08:59 -07:00
Jay2645
7584a01634
Removed unnecessary code, removed unreliable check, cleaned up section of code.
2013-06-29 13:15:08 -07:00
Jay2645
5a3515846f
Removed two lines from an older commit that were no longer being used.
2013-06-29 11:27:57 -07:00
Jay2645
a4965e4062
Updated Random Battle set generation with more comments and system to try and find STAB moves.
2013-06-29 02:58:18 -07:00
Jay2645
41f7a99c4a
Added check to make sure sets have a STAB move (if possible) before being added.
2013-06-28 15:39:58 -07:00
Jay2645
789b10672e
Corrected another typo in comments for Basculin.
2013-06-25 18:17:15 -07:00
Jay2645
a2ec73e549
Corrected typo in comments for Basculin.
2013-06-25 18:13:46 -07:00
Guangcong Luo
93d22073a8
Refactor randbat team generator
...
The main difference here is that the evolution family restriction
has been replaced with a 'limit one of each type combo' restriction.
Every other change is just refactoring.
2013-06-25 17:47:00 -07:00
Guangcong Luo
cd47fccf6d
Revise random battle changes for PS coding style
2013-06-25 17:09:08 -07:00
Jay2645
e4399f3d19
Fixed formatting in Random Battle changes.
2013-06-25 16:52:25 -07:00
Jay2645
0d1b47344a
Modified Random Battle code to prevent unfair teams.
2013-06-25 15:40:05 -07:00
Guangcong Luo
b80cf3b945
Fix Baton Pass failing
2013-06-23 13:05:21 -07:00
Guangcong Luo
8b5e94e06f
Fix an obscure Substitute-related crash
2013-06-20 06:22:30 -05:00
Marty-D
5e0acfb56b
Correct previous commit.
2013-06-19 21:28:50 -04:00
Marty-D
5d1db9bb71
Remove redundant force-switch fail message.
...
- Suction Cups, Ingrain, and Soundproof have their own messages.
2013-06-19 20:41:15 -04:00
Guangcong Luo
0c53bd7e98
Fix self-secondaries not activating
2013-06-19 17:57:27 -05:00
Guangcong Luo
fc9725efad
Show a fail message when force-switch moves fail
2013-06-19 17:29:01 -05:00
Guangcong Luo
d66e619f79
Fix some redundant failure messages
2013-06-17 11:08:47 -05:00
Guangcong Luo
b43ff0b645
Nearly all move failures now display a message
2013-06-16 03:41:00 -07:00
Cathy J. Fitzpatrick
f885d64601
Struggle does not require PP
2013-06-11 17:44:14 -06:00
Cathy J. Fitzpatrick
0aadcf0243
Correct mechanics when trying to use a 0 PP move
...
There are two cases where a pokemon might attempt to execute a move
with zero PP:
- a move which had PP when selected, but whose PP was subsequently
reduced to 0 by Spite; and
- a case where a pokemon has multiple copies of the same move, in
which case it will always be possible to select the move, but it
will not be executed if it has 0 PP.
Attempting to use a move with zero PP should not succeed.
2013-06-11 02:15:26 -06:00
The Immortal
cbf9f36d65
Correct "Swift Swift" mistake
2013-06-04 01:31:00 +04:00
Joimer
cc0efcbc47
June Jubilee: Add Hariyama and Aggron to the Pokémon pool
...
Added Hariyama with Surf and Aggron with Surf to the list of summer Pokémon to June Jubilee as per player request.
2013-06-03 15:15:09 +02:00
Marty-D
cd9e7ae25b
Missed one typo.
2013-06-01 16:30:57 -04:00
Marty-D
60baa43235
Fix Seasonal Pokemon list, take 1v1 out of debug.
2013-06-01 16:18:37 -04:00
Joimer
2031e3f1de
June Jubilee: Fix grammatical mistakes and name mistakes
2013-06-01 20:39:47 +02:00