Class: Battle::Effects::Item::ChoiceItemMultiplier
- Defined in:
- docs/5_Battle_06_Effects_05_Item_Effects.rb
Overview
Class describing Choice Item Multiplier item effects
Direct Known Subclasses
Instance Method Summary collapse
-
#can_be_used?(user, move) ⇒ Boolean
Checks if the user can use the move.
-
#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
#can_be_used?(user, move) ⇒ Boolean
Checks if the user can use the move
700 701 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 700 def can_be_used?(user, move) end |
#on_move_disabled_check(user, move) ⇒ Proc?
Function called when we try to check if the user cannot use a move
694 695 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 694 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)
688 689 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 688 def on_move_prevention_user(user, targets, move) end |