mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
Added effects of Mimicry/Room Service/Catching Charm, tweaked Sinistea's form chances, fixed bug in Fling about TRs.
This commit is contained in:
@@ -330,6 +330,14 @@ BattleHandlers::DamageCalcUserAbility.add(:GORILLATACTICS,
|
||||
}
|
||||
)
|
||||
|
||||
BattleHandlers::AbilityOnSwitchIn.add(:MIMICRY,
|
||||
proc { |ability, battler, battle|
|
||||
next if battle.field.terrain == :None
|
||||
BattleHandlers.triggerAbilityOnTerrainChange(ability, battler, battle, false)
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
=begin
|
||||
|
||||
#===============================================================================
|
||||
@@ -343,9 +351,4 @@ Suppresses all other abilities. Once this ability stops applying, triggers all
|
||||
abilities that activate when gained (if this happens because bearer switches
|
||||
out, abilities trigger before the replacement switches in).
|
||||
|
||||
Mimicry
|
||||
The bearer's type changes depending on the terrain. Triggers upon entering
|
||||
battle and when terrain changes (and not when bearer's type is changed, e.g.
|
||||
with Soak).
|
||||
|
||||
=end
|
||||
|
||||
Reference in New Issue
Block a user