mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Fixed various bugs found when generating Battle Frontier challenge lists
This commit is contained in:
@@ -1315,13 +1315,13 @@ end
|
||||
#===============================================================================
|
||||
class Battle::Move::TypeDependsOnUserIVs < Battle::Move
|
||||
def pbBaseType(user)
|
||||
hp = pbHiddenPower(user)
|
||||
hp = pbHiddenPower(user.pokemon)
|
||||
return hp[0]
|
||||
end
|
||||
|
||||
def pbBaseDamage(baseDmg, user, target)
|
||||
return super if Settings::MECHANICS_GENERATION >= 6
|
||||
hp = pbHiddenPower(user)
|
||||
hp = pbHiddenPower(user.pokemon)
|
||||
return hp[1]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user