Module: Battle::Effects::Mechanics::Mark

Included in:
HelpingHand::Mark, LeechSeed::Mark
Defined in:
docs/5_Battle_06_Effects_01_Mechanics.rb

Overview

Effect linked to another, if the other die, this one dies too.

Requirement

  • Call initialize_mark

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#mark_originEffectBase (readonly)

Get the origin mark

Returns:



98
99
100
# File 'docs/5_Battle_06_Effects_01_Mechanics.rb', line 98

def mark_origin
  @mark_origin
end

Instance Method Details

#dead?Boolean Also known as: mark_dead?

Tell if the effect is dead

Returns:

  • (Boolean)


105
106
# File 'docs/5_Battle_06_Effects_01_Mechanics.rb', line 105

def dead?
end

#initialize_mark(origin)

Initialize the mechanic

Parameters:



101
102
# File 'docs/5_Battle_06_Effects_01_Mechanics.rb', line 101

def initialize_mark(origin)
end