pokemon-showdown/sim/tools
Guangcong Luo 5364c63e23 Introduce item.itemUser
`item.itemUser` replaces `item.zMoveUser`, and is a new field
representing a list of possible users of an item, for items that are
restricted to specific species.

`item.zMoveUser` is a base forme for items that affect every forme, and
a forme name otherwise (forme name is currently only used for
`forcedForme` uses).

Arceus is a weird case. Both generic Z crystals and Plates, while
having unique effects on Arceus, also have effects on other Pokémon.
For this reason, Arceus isn't listed as an `itemUser` of either of
these item types - use-cases that want this should also check
`item.forcedForme`.

This is mostly intended to be useful to move-searching and custom
rules (like NatDex, which will only allow past-gen items associated
with removed species).
2019-11-25 15:26:36 +13:00
..
exhaustive-runner.ts Introduce item.itemUser 2019-11-25 15:26:36 +13:00
multi-random-runner.ts Move simulator harness to sim/tools (#5451) 2019-04-18 04:17:07 +09:30
random-player-ai.ts Move simulator harness to sim/tools (#5451) 2019-04-18 04:17:07 +09:30
runner.ts Battle toJSON/fromJSON (#5427) 2019-04-30 14:48:27 +12:00