mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Rewrote AI calculations for move effects that raise the user's stats, fixed Sea of Fire effect lasting forever
This commit is contained in:
@@ -540,7 +540,7 @@ class Pokemon
|
||||
# @return [Boolean] whether this Pokémon has a particular nature or a nature
|
||||
# at all
|
||||
def hasNature?(check_nature = nil)
|
||||
return !@nature_id.nil? if check_nature.nil?
|
||||
return !@nature.nil? if check_nature.nil?
|
||||
return self.nature == check_nature
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user