Commit Graph

28 Commits

Author SHA1 Message Date
The Immortal
302c0b3e12 Set OM mods to gen 6 2016-11-19 17:11:52 +04:00
Ivo Julca
ff6776074a Sync scripted mods with the battle engine 2016-11-18 19:31:38 -05:00
Ivo Julca
bf04094f08 Update BattlePokemon#formeChange to use Tools#spreadModify 2016-11-18 19:26:54 -05:00
The Immortal
d2b7c0964f Tier Shift: Prevent HP over 255 2016-05-05 15:42:55 +04:00
The Immortal
8c7fddfb5a Tier Shift: Fix HP boost 2016-03-05 03:34:50 +04:00
Guangcong Luo
a8e8272bac Refactor types and remove ModifyPokemon
The unwieldy system that is typesData is now removed, and is replaced by
the array `types` and the string `addedType`, which track the same amount
of information in a much more efficient way. (Roost is now hardcoded, but
let's not talk about that.)

Incidentally, this now roughly matches client, which tracks typechange
and typeadd as volatiles.

This allows us to remove ModifyPokemon, which overall provides a 10%
performance increase. I was hoping it'd be more substantial, but oh well.
2016-02-16 23:42:37 -06:00
Konrad Borowski
81f602b8d8 Always use trailing comma for multiline objects 2016-01-01 00:20:07 +01:00
The Immortal
bcf0fed850 Ban Shadow Tag from OU
And remove the unneeded bans in UU and Tier Shift, as well as update
Random Battle levels.
2015-12-12 05:53:13 +04:00
Ivo Julca
47918a6d92 Replace remaining instances of var by block bindings 2015-12-03 19:45:35 -05:00
The Immortal
821e4d2659 Fix Tier Shift
- Use the Mega’s tier when relevant
- Add HP boost
2015-11-12 03:41:18 +04:00
The Immortal
9882a25686 Tier Shift: Take into account combined usage tiers 2015-11-09 04:16:12 +04:00
The Immortal
c76afd8592 Remove unneeded PU ban
Shell Smash + Baton Pass is banned by OU.
2015-11-09 03:52:47 +04:00
The Immortal
83d2b36257 Update Tier Shift 2015-11-09 03:08:14 +04: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
The Immortal
fa05d434fd Update Tier Shift 2015-03-20 01:32:06 +04:00
Ivo Julca
827f45e7b3 Support inheritance from Tier Shift
The initialization script of Tier Shift was calling `getTemplate`, which poisoned the dex entries with the `cached` flag
2015-01-19 17:25:36 -05:00
The Immortal
f9fb76ceb1 Add BL4 to Tier Shift mod 2015-01-14 21:11:36 +04:00
小太
fe37f3b6a7 Apply jscs to the data files as well 2014-09-30 18:34:16 +10:00
The Immortal
964a0d7311 Update Tier Shift
PU is now specified in formats-data
2014-09-02 19:31:55 +04:00
NickMP
47bfc6a56b Tiershift: Fix 'LC Uber' Pokemon being unchanged
Add a case for 'LC Uber', fixing a bug where Pokemon in the LC Uber tier did not receive any stat adjustments.
2014-06-23 17:37:03 -04:00
TalkTakesTime
24c57d53aa Add Tier Shift permanent ladder
plus update some /om links
2014-06-03 20:42:05 +12:00
Joimer
aed4505641 Remove Tier Shift gen5 mod
The mod is not playable right now on main, so there's no need for the
code to be present.
Additionally, the code is outdated for now it needs to use
this.modData('Pokedex', i) rather than edict directly this.data.Pokedex[i]
2014-01-03 13:52:26 +01: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
The Immortal
ddd30575d6 Set Tier Shift to Gen 5 2013-10-13 23:44:26 +04: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
2fe9180b15 Fix clause inheritance
Clauses weren't inherited into modded formats properly. This fixes
that. Also fixed: newline at the end of tier shift's scripts.js.
2013-04-03 13:00:13 -07:00
Joimer
0c1e3d3237 Add Tier Shift mod for Other Meta of the Month 2013-03-31 10:43:19 +02:00