Class: Battle::Effects::Ability::PurifyingSalt
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Purifying Salt ability effect
Constant Summary collapse
- STATUS_MESSAGES =
A constant mapping status effects to their respective message IDs
{burn: [19, 270], freeze: [19, 300], paralysis: [19, 285], poison: [19, 252], sleep: [19, 318], toxic: [19, 252]}
Instance Method Summary collapse
-
#on_move_ability_immunity(user, target, move) ⇒ Boolean
Function called when we try to check if the Pokemon is immune to a move due to its effect.
-
#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?
:prevent if the status cannot be applied.
-
#sp_atk_multiplier(user, target, move) ⇒ Float, Integer
Give the move [Spe]atk mutiplier.
Instance Method Details
#on_move_ability_immunity(user, target, move) ⇒ Boolean
Function called when we try to check if the Pokemon is immune to a move due to its effect
2855 2856 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2855 def on_move_ability_immunity(user, target, move) end |
#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?
Returns :prevent if the status cannot be applied.
2863 2864 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2863 def on_status_prevention(handler, status, target, launcher, skill) end |
#sp_atk_multiplier(user, target, move) ⇒ Float, Integer
Give the move [Spe]atk mutiplier
2870 2871 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2870 def sp_atk_multiplier(user, target, move) end |