new LevelTrigger()
Represents the trigger for an evolution that occurs when a Pokemon levels up.
Name | Type | Description |
---|---|---|
level | number | | The level at which the Pokemon evolves, or null if it evolves upon level up regardless of level. |
item_id | number | | The ID of the item that the Pokemon must be holding to evolve, or null if no item is required. |
move_id | number | | The ID of the move that the Pokemon must know to evolve, or null if no move is required. |
move_type_id | number | | The ID of the type of move that the Pokemon must know to evolve, or null if no specific type is required. |
time | number | | The time of day when the Pokemon evolves (e.g., "day", "night"), or null if time of day doesn't matter. |
relative_stats | number | | The relative stat requirement for evolution (1 for Attack > Defense, -1 for Defense > Attack, 0 for Attack = Defense), or null if no stat requirement. |
instance | DataManagerBase | The DataManagerBase instance associated with this evolution trigger. |
Extends
- EvolutionTrigger