mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Coded some Gen 9 ability/item/move effects
This commit is contained in:
@@ -212,7 +212,7 @@ class Battle::Move::TargetMultiStatDownMove < Battle::Move
|
||||
# NOTE: It's a bit of a faff to make sure the appropriate failure message
|
||||
# is shown here, I know.
|
||||
canLower = false
|
||||
if target.hasActiveAbility?(:CONTRARY) && !@battle.moldBreaker
|
||||
if target.hasActiveAbility?(:CONTRARY) && !target.beingMoldBroken?
|
||||
(@statDown.length / 2).times do |i|
|
||||
next if target.statStageAtMax?(@statDown[i * 2])
|
||||
canLower = true
|
||||
|
||||
Reference in New Issue
Block a user