mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
- Legacy effect type ``Ruleset`` removed - New type ``RuleValueType`` for ``rule.hasValue`` - New interface ``RuleTableBuildContext`` for ``onValidateRule`` handlers - New interface: ``RuleEventMethods`` extending ``EventMethods`` - ``data/rulesets.ts``: Different tag-discriminated types for ``effectType='Rule'`` vs ``effectType='ValidatorRule'``: ``RuleData`` vs ``ValidatorRuleData``. - ``data/rulesets.ts``: Renamed ``FormatDataTable`` to ``RulesetTable`` - Distinguishes types for formats in ``config/formats.ts`` vs in ``Dex.data.Rulesets``: ``FormatData`` vs ``LoadedFormatData``. - Union type for formats OR rulesets in ``Dex.data.Rulesets``: ``RulesetData`` - Implements ``DexFormats#find|some``, for searches excluding rules. - Remove obsolete comment regarding former lack of support for format.onResidual |
||
|---|---|---|
| .. | ||
| formats-data.ts | ||
| learnsets.ts | ||
| moves.ts | ||
| pokedex.ts | ||
| rulesets.ts | ||
| scripts.ts | ||