mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
Snowstorm, forfeiting trainer battles, battle outcome values
This commit is contained in:
@@ -317,7 +317,7 @@ end
|
||||
#===============================================================================
|
||||
class Battle::Move::FreezeTargetAlwaysHitsInHail < Battle::Move::FreezeTarget
|
||||
def pbBaseAccuracy(user, target)
|
||||
return 0 if target.effectiveWeather == :Hail
|
||||
return 0 if [:Hail, :Snowstorm].include?(target.effectiveWeather)
|
||||
return super
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user