Added Pokémon properties cannot_store, cannot_release and cannot_trade. Allowed Offspring species property to be edited.

This commit is contained in:
Maruno17
2021-11-08 23:21:20 +00:00
parent 15babcf835
commit 12fd500dbc
9 changed files with 179 additions and 21 deletions

View File

@@ -78,6 +78,12 @@ class Pokemon
# Used by Galarian Yamask to remember that it took sufficient damage from a
# battle and can evolve.
attr_accessor :ready_to_evolve
# Whether this Pokémon can be deposited in storage
attr_accessor :cannot_store
# Whether this Pokémon can be released
attr_accessor :cannot_release
# Whether this Pokémon can be traded
attr_accessor :cannot_trade
# Max total IVs
IV_STAT_LIMIT = 31