mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
hidden power error fix
This commit is contained in:
@@ -243,13 +243,13 @@ end
|
||||
#===============================================================================
|
||||
class PokeBattle_Move_090 < PokeBattle_Move
|
||||
def pbBaseType(user)
|
||||
hp = pbHiddenPower(user,user.hiddenPowerType)
|
||||
hp = pbHiddenPower(user,user.pokemon.hiddenPowerType)
|
||||
return hp[0]
|
||||
end
|
||||
|
||||
def pbBaseDamage(baseDmg,user,target)
|
||||
return super if Settings::MECHANICS_GENERATION >= 6
|
||||
hp = pbHiddenPower(user,user.hiddenPowerType)
|
||||
hp = pbHiddenPower(user,user.pokemon.hiddenPowerType)
|
||||
return hp[1]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user