mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +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,
|
Battle::AbilityEffects::StatusImmunityFromAlly.add(:SWEETVEIL,
|
||||||
proc { |ability, battler, status|
|
proc { |ability, battler, status|
|
||||||
next true if status == :SLEEP
|
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,
|
Battle::AbilityEffects::StatusCure.add(:INSOMNIA,
|
||||||
proc { |ability, battler|
|
proc { |ability, battler|
|
||||||
next if battler.status != :SLEEP
|
next if battler.status != :SLEEP
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
# window in start_message and end_message).
|
# window in start_message and end_message).
|
||||||
# TODO: Look at the "ready to rematch" timers to see if they can be improved?
|
# TODO: Look at the "ready to rematch" timers to see if they can be improved?
|
||||||
# Should they be limited to one trainer becoming ready every ~5 minutes?
|
# Should they be limited to one trainer becoming ready every ~5 minutes?
|
||||||
|
# Should a rematch-ready contact become unready again after some time if
|
||||||
|
# they haven't told the player they're ready?
|
||||||
# TODO: See if incoming phone calls can be made optional somehow. Maybe just
|
# TODO: See if incoming phone calls can be made optional somehow. Maybe just
|
||||||
# interrupt as normal with the start of the call and ask if the player
|
# interrupt as normal with the start of the call and ask if the player
|
||||||
# wants to answer? Wait for a couple of seconds before asking to make sure
|
# wants to answer? Wait for a couple of seconds before asking to make sure
|
||||||
|
|||||||
Reference in New Issue
Block a user