mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-11 23:24:59 +00:00
Coded some Gen 9 ability/item/move effects
This commit is contained in:
@@ -176,6 +176,16 @@ class Battle::Move::ParalyzeTargetIfNotTypeImmune < Battle::Move::ParalyzeTarget
|
||||
end
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
# Paralyzes the target. Accuracy perfect in rain. (Wildbolt Storm)
|
||||
#===============================================================================
|
||||
class Battle::Move::ParalyzeTargetAlwaysHitsInRain < Battle::Move::ParalyzeTarget
|
||||
def pbBaseAccuracy(user, target)
|
||||
return 0 if [:Rain, :HeavyRain].include?(target.effectiveWeather)
|
||||
return super
|
||||
end
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
# Paralyzes the target. Accuracy perfect in rain, 50% in sunshine. Hits some
|
||||
# semi-invulnerable targets. (Thunder)
|
||||
@@ -233,6 +243,16 @@ class Battle::Move::BurnTarget < Battle::Move
|
||||
end
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
# Burns the target. Accuracy perfect in rain. (Sandsear Storm)
|
||||
#===============================================================================
|
||||
class Battle::Move::BurnTargetAlwaysHitsInRain < Battle::Move::BurnTarget
|
||||
def pbBaseAccuracy(user, target)
|
||||
return 0 if [:Rain, :HeavyRain].include?(target.effectiveWeather)
|
||||
return super
|
||||
end
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
# Burns the target if any of its stats were increased this round.
|
||||
# (Burning Jealousy)
|
||||
|
||||
Reference in New Issue
Block a user