Class: Ability::EarnHonor

Inherits:
Base show all
Defined in:
lib/ascension/ability.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#parent_card

Instance Method Summary collapse

Methods inherited from Base

#call_until_nil, #choice_instance

Instance Attribute Details

#honorObject

Returns the value of attribute honor.



121
122
123
# File 'lib/ascension/ability.rb', line 121

def honor
  @honor
end

Instance Method Details

#call(side) ⇒ Object



122
123
124
125
# File 'lib/ascension/ability.rb', line 122

def call(side)
  side.game.honor -= honor
  side.honor += honor
end