pokemon-showdown/test/sim/abilities
Guangcong Luo 7a023746ba
Refactor battle.dex out of battle (#5851)
In most other similar systems, like TeamValidator, we use `thing.dex` instead of having it extend `ModdedDex`. Battle has always extended `ModdedDex`, though. This changes Battle to match the others.

This should fix an issue with `Battle.data` not being cached.

This also frees up Battle to extend ObjectReadWriteStream<string> in a future update.
2019-10-06 07:38:08 +11:00
..
aftermath.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
angerpoint.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
arenatrap.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
battlearmor.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
clearbody.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
cloudnine.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
colorchange.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
comatose.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
contrary.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
damp.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
dancer.js Make moves called by Dancer target properly (#5616) 2019-07-16 21:15:05 -04:00
deltastream.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
desolateland.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
disguise.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
dryskin.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
emergencyexit.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
flashfire.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
flowergift.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
flowerveil.js Moves: Fix Flower Veil + Yawn interaction when ally is already under effect of Yawn 2019-07-21 14:21:42 -05:00
immunity.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
intimidate.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
klutz.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
levitate.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
lightningrod.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
magicbounce.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
magicguard.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
magnetpull.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
multiscale.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
mummy.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
normalize.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
parentalbond.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
pickup.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
prankster.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
pressure.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
primordialsea.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
rockhead.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
roughskin.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
shadowtag.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
sheerforce.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
shellarmor.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
shielddust.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
simple.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
stickyhold.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
stormdrain.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
sturdy.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
suctioncups.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
symbiosis.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
thickfat.js Refactor battle.dex out of battle (#5851) 2019-10-06 07:38:08 +11:00
truant.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
unaware.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
unburden.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30
wonderguard.js Test: Update folder structure to match source code (#5436) 2019-04-14 23:57:06 +09:30