Module: Battle::Effects::Mechanics::WithTargets
- Included in:
- WithMarkedTargets, PreventTargetsMove
- Defined in:
- docs/5_Battle_06_Effects_01_Mechanics.rb
Overview
Store targets informations
Requirement
-
Call initialize_with_targets
Instance Method Summary collapse
-
#initialize_with_targets(targets)
Init the mechanic.
-
#targetted?(battler) ⇒ Boolean
(also: #with_targets_targetted?)
Tell if the given battler is targetted by the effect.
Instance Method Details
#initialize_with_targets(targets)
Init the mechanic
202 203 |
# File 'docs/5_Battle_06_Effects_01_Mechanics.rb', line 202 def initialize_with_targets(targets) end |
#targetted?(battler) ⇒ Boolean Also known as: with_targets_targetted?
Tell if the given battler is targetted by the effect
207 208 |
# File 'docs/5_Battle_06_Effects_01_Mechanics.rb', line 207 def targetted?(battler) end |