Class: Ability::EarnHonor
Instance Attribute Summary collapse
-
#honor ⇒ Object
Returns the value of attribute honor.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#call_until_nil, #choice_instance
Instance Attribute Details
#honor ⇒ Object
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 |