Fixes wrong ability index after fusing

This commit is contained in:
infinitefusion
2023-04-10 11:58:43 -04:00
parent 368d843fee
commit 222327481f
16 changed files with 25 additions and 1 deletions

View File

@@ -42,6 +42,10 @@ class Pokemon
# defined at this index. Is recalculated (as 0 or 1) if made nil.
# @param value [Integer, nil] forced ability index (nil if none is set)
attr_writer :ability_index
attr_accessor :body_original_ability_index
attr_accessor :head_original_ability_index
# @return [Array<Pokemon::Move>] the moves known by this Pokémon
attr_accessor :moves
# @return [Array<Integer>] the IDs of moves known by this Pokémon when it was obtained