Deprecate Pokemon#language and Pokemon#language=

This commit is contained in:
jonisavo
2020-10-16 14:11:09 +03:00
parent 0122ccadcf
commit b9801ef171
2 changed files with 12 additions and 7 deletions

View File

@@ -92,8 +92,6 @@ class Pokemon
# Otherwise returns 0.
# @return [Integer] the map ID where egg was hatched (0 by default)
attr_accessor :hatchedMap
# @param value [Integer] new language
attr_writer :language
# @param value [Integer] new contest stat
attr_writer :cool,:beauty,:cute,:smart,:tough,:sheen
@@ -934,11 +932,6 @@ class Pokemon
return @name != self.speciesName
end
# @return [Integer] this Pokémon's language
def language
return @language || 0
end
# @return [Integer] the markings this Pokémon has
def markings
return @markings || 0