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

Instance Method Details

#initialize_with_targets(targets)

Init the mechanic

Parameters:



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

Parameters:

Returns:

  • (Boolean)


207
208
# File 'docs/5_Battle_06_Effects_01_Mechanics.rb', line 207

def targetted?(battler)
end