mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 22:54:59 +00:00
Fixing up after merge from master
This commit is contained in:
@@ -129,7 +129,7 @@ class PokeBattle_Battler
|
||||
return true
|
||||
end
|
||||
|
||||
def canConsumePinchBerry?(_item, check_gluttony = true)
|
||||
def canConsumePinchBerry?(check_gluttony = true)
|
||||
return false if !canConsumeBerry?
|
||||
return true if @hp <= @totalhp / 4
|
||||
return true if @hp <= @totalhp / 2 && (!check_gluttony || hasActiveAbility?(:GLUTTONY))
|
||||
|
||||
Reference in New Issue
Block a user