- 428
- Posts
- 5
- Years
- Zekko
- Seen Nov 21, 2023
"Undefined method effectiveweather". That's what the error says.
I didn't even edit this ability.
Code:
Battle::AbilityEffects::SpeedCalc.add(:SANDRUSH,
proc { |ability, battler, mult|
next mult * 2 if [:Sandstorm].include?(battler.effectiveWeather)
}
)
I didn't even edit this ability.