Commit Graph

191 Commits

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