mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-20 22:18:18 -05:00
`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). |
||
|---|---|---|
| .. | ||
| chat-commands | ||
| chat-plugins | ||
| static | ||
| tournaments | ||
| chat-formatter.ts | ||
| chat.ts | ||
| config-loader.ts | ||
| global-types.ts | ||
| global-variables.d.ts | ||
| index.js | ||
| ip-tools.ts | ||
| ladders-local.ts | ||
| ladders-remote.ts | ||
| ladders.ts | ||
| loginserver.ts | ||
| monitor.ts | ||
| punishments.ts | ||
| room-battle.ts | ||
| room-game.ts | ||
| roomlogs.ts | ||
| rooms.ts | ||
| sockets.js | ||
| team-validator-async.js | ||
| users.ts | ||
| verifier.ts | ||