mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
More tweaks from the Rubocop overlord
This commit is contained in:
@@ -43,7 +43,7 @@ class Pokemon
|
||||
# @return [Integer] total PP
|
||||
def total_pp
|
||||
max_pp = GameData::Move.get(@id).total_pp
|
||||
return max_pp + max_pp * @ppup / 5
|
||||
return max_pp + (max_pp * @ppup / 5)
|
||||
end
|
||||
alias totalpp total_pp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user