Class: Battle::Effects::Ability::GorillaTactics
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Gorilla Tactics ability effect
Instance Method Summary collapse
-
#atk_modifier ⇒ Float, Integer
Give the atk modifier over given to the Pokemon with this effect.
-
#on_move_disabled_check(user, move) ⇒ Proc?
Function called when we try to check if the user cannot use a move.
-
#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).
Instance Method Details
#atk_modifier ⇒ Float, Integer
Give the atk modifier over given to the Pokemon with this effect
1493 1494 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1493 def atk_modifier end |
#on_move_disabled_check(user, move) ⇒ Proc?
Function called when we try to check if the user cannot use a move
1489 1490 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1489 def on_move_disabled_check(user, move) end |
#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)
1483 1484 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 1483 def on_move_prevention_user(user, targets, move) end |