mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Fixed Pastel Veil not providing poison immunity to allies, and not healing the bearer if it becomes poisoned anyway
This commit is contained in:
@@ -496,6 +496,12 @@ Battle::AbilityEffects::StatusImmunityFromAlly.add(:FLOWERVEIL,
|
||||
}
|
||||
)
|
||||
|
||||
Battle::AbilityEffects::StatusImmunityFromAlly.add(:PASTELVEIL,
|
||||
proc { |ability, battler, status|
|
||||
next true if status == :POISON
|
||||
}
|
||||
)
|
||||
|
||||
Battle::AbilityEffects::StatusImmunityFromAlly.add(:SWEETVEIL,
|
||||
proc { |ability, battler, status|
|
||||
next true if status == :SLEEP
|
||||
@@ -561,6 +567,8 @@ Battle::AbilityEffects::StatusCure.add(:IMMUNITY,
|
||||
}
|
||||
)
|
||||
|
||||
Battle::AbilityEffects::StatusCure.copy(:IMMUNITY, :PASTELVEIL)
|
||||
|
||||
Battle::AbilityEffects::StatusCure.add(:INSOMNIA,
|
||||
proc { |ability, battler|
|
||||
next if battler.status != :SLEEP
|
||||
|
||||
Reference in New Issue
Block a user