pokemon-showdown/server
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
..
chat-commands Introduce item.itemUser 2019-11-25 15:26:36 +13:00
chat-plugins Spoiler racial slur evasion 2019-11-25 02:08:43 +04:00
static
tournaments Take steps to statically type Config (#5920) 2019-10-30 18:45:20 +10:30
chat-formatter.ts Server: Use readonly where appropriate (#5902) 2019-10-21 16:12:32 +10:30
chat.ts Split up server/chat-commands/ (#5943) 2019-11-15 11:12:54 +13:00
config-loader.ts Make config-loader return type Config (#5939) 2019-11-09 04:21:54 +10:30
global-types.ts Take steps to statically type Config (#5920) 2019-10-30 18:45:20 +10:30
global-variables.d.ts Split up server/chat-commands/ (#5943) 2019-11-15 11:12:54 +13:00
index.js Fix file extensions in comments (#6062) 2019-11-24 12:57:12 +13:00
ip-tools.ts Update datacenters & ip-tools (#5937) 2019-11-07 17:41:10 +10:30
ladders-local.ts Fix file extensions in comments (#6062) 2019-11-24 12:57:12 +13:00
ladders-remote.ts Fix file extensions in comments (#6062) 2019-11-24 12:57:12 +13:00
ladders.ts Server: Use readonly where appropriate (#5902) 2019-10-21 16:12:32 +10:30
loginserver.ts Server: Use readonly where appropriate (#5902) 2019-10-21 16:12:32 +10:30
monitor.ts Split up server/chat-commands/ (#5943) 2019-11-15 11:12:54 +13:00
punishments.ts Fix handling of locked and proxy connections (#5938) 2019-11-15 11:10:04 +13:00
room-battle.ts Split up server/chat-commands/ (#5943) 2019-11-15 11:12:54 +13:00
room-game.ts RoomGame: Uncomment optional functions (#5992) 2019-11-18 16:43:40 +13:00
roomlogs.ts Server: Use readonly where appropriate (#5902) 2019-10-21 16:12:32 +10:30
rooms.ts Fix file extensions in comments (#6062) 2019-11-24 12:57:12 +13:00
sockets.js Fix file extensions in comments (#6062) 2019-11-24 12:57:12 +13:00
team-validator-async.js Upgrade to TypeScript 3.7 (#5935) 2019-11-06 23:02:36 +10:30
users.ts RoomGame: Uncomment optional functions (#5992) 2019-11-18 16:43:40 +13:00
verifier.ts Remove hardcoded URLs in favor of Config.routes (#5557) 2019-07-01 10:19:21 -07:00