Commit Graph

32 Commits

Author SHA1 Message Date
Kris Johnson
f2caefba9b Ultra Sun and Ultra Moon update (#4151) 2017-11-16 20:34:43 -06:00
Guangcong Luo
3b4d8b3ff0 Split random-teams.js out of scripts.js
Random team generation scripts are no longer in scripts.js, but instead
in a new file random-teams.js.

The scripts are now also no longer run from inside battles, but in a
new team generator object. This makes it easier for external scripts
to generate random teams by running Dex.generateTeam(format).
2017-07-25 02:59:59 -04:00
Honko
39fcae7b18 Gen 4 Random Battle improvements (#3806) 2017-07-23 07:19:28 +04:00
The Immortal
cf40492e2e Gen 4 Random Battle: Reject Explosion with Substitute 2017-07-15 05:59:16 +04:00
Ivo Julca
13ad6dcd29 Gen3-4 Randbats: Fix crashlogger path 2017-07-12 04:02:05 -05:00
The Immortal
58b0903baf Gen 4: Random Battle fixes 2017-07-11 00:30:45 +04:00
The Immortal
e211cb7e91 Gen 4 Random Battle: Improvements 2017-07-01 22:55:43 +04:00
Bär Halberkamp
961ffc3f9b Upgrade eslint to 4.x (#3657) 2017-06-18 22:37:43 -07:00
Caleb Young
912dfa56c3 Gen 3: Implement correct damage flooring (#3655) 2017-06-18 17:25:03 -07:00
The Immortal
26833a9923 Gen 4 Random Battle: Improvements 2017-06-19 04:13:16 +04:00
The Immortal
e4a8dd190f Gen 4 Random Battle: Improvements 2017-06-14 23:51:14 +04:00
The Immortal
208a26bc46 Fix Gen 4 Random Battle 2017-06-14 05:19:21 +04:00
The Immortal
1c0f9f7ac6 Gen 4 Random Battle: Updates 2017-06-14 04:10:07 +04:00
The Immortal
c8bee25725 Gen 4 Random Battle: Properly fix illegal formes 2017-06-12 23:06:58 +04:00
The Immortal
d4a6e3b1c9 Gen 4 Random Battle fixes 2017-06-12 21:58:05 +04:00
Caleb Young
9dab8e50e1 Implement DPP damage formula (#3583) 2017-06-11 10:18:34 -05:00
urkerab
9e76c227b4 Require minimum IVs for Hidden Power 70 in Gen 4 (#3602) 2017-06-10 19:09:24 -05:00
The Immortal
b0fcc89e4e Add Gen 4 Random Battle 2017-06-10 23:52:42 +04:00
mizdra
f262d02c42 Fix recoil in Gen 3-4 (#2461)
* Fix the 1/3 recoil moves in Gen 3-4
* Fix rounding recoil in Gen 3-4
2016-04-18 16:26:54 -04:00
Konrad Borowski
81f602b8d8 Always use trailing comma for multiline objects 2016-01-01 00:20:07 +01:00
Juanma Serrano
c4ac8d6e2f Use strict mode and let and const instead of var
This commit also fixes some duplicated variable declarations.
2015-11-06 21:56:52 -05:00
Guangcong Luo
af2026436a More style fixes and Gulpfile updates
JSHint is now a fair bit stricter, and is now correctly checking
files in `mods/`.

The code has been fixed to match the new stricter standards.

JSHint has now caught its second actual bug: Gen 5 Pinap Berry
was Ice instead of Grass.
2014-08-10 20:43:53 -04:00
小太
5c8fc7b982 Space after function for anonymous functions 2014-04-22 01:58:16 +10:00
Guangcong Luo
a39fdd6006 Split off team validation to team-validator.js
This is the first step in a refactor to split team validation into
its own process.
2014-01-09 17:35:19 -08:00
Slayer95
197d5b22be Fix hidden abilities being allowed in Gen 3 & 4
Also fix hidden ability for Flygon in NEXT
2013-11-10 01:48:42 -05:00
Slayer95
9cd05b80a3 Specify basis for inheritance of mods needing it
Create scripts.js file for gen5bw in order to do so.
2013-11-03 16:39:06 -05:00
Guangcong Luo
df8c66d937 Optimize banning things from newer gens 2013-04-27 11:21:25 -07:00
Guangcong Luo
b263daeea0 Lazily copy data for mods, rather than eagerly 2013-04-27 11:21:25 -07:00
Guangcong Luo
68fd57131c Memory optimisation in Tools data
During initialisation of Tools, each new mod no longer makes a copy
of every data object from the parent mod. Instead, a new object is
created when and only when the mod actually makes changes to a
particular object. In other words, this is a "copy-on-write" system.
2013-04-27 04:50:37 -07:00
Guangcong Luo
59785e4630 Fix Gen 4 learnset checking 2013-04-23 18:46:32 -07:00
Guangcong Luo
61a0bd9c09 Make sure self-target moves ignore Soundproof 2012-09-09 00:39:31 -07:00
Guangcong Luo
cb4aae18a3 formats.js can now list alternate gens 2012-06-16 15:50:34 -07:00