Class: Battle::Effects::Ability::ArmorTail
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Armor Tail ability effect
Instance Method Summary collapse
-
#initialize(logic, target, db_symbol) ⇒ ArmorTail
constructor
Create a new Armor Tail effect.
-
#on_move_prevention_user(user, targets, move) ⇒ :prevent?
Function called when we try to use a move as the user (returns :prevent if user fails).
Constructor Details
#initialize(logic, target, db_symbol) ⇒ ArmorTail
Create a new Armor Tail effect
562 563 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 562 def initialize(logic, target, db_symbol) end |
Instance Method Details
#on_move_prevention_user(user, targets, move) ⇒ :prevent?
Function called when we try to use a move as the user (returns :prevent if user fails)
569 570 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 569 def on_move_prevention_user(user, targets, move) end |