Class: Contest::Effects::RaisedCondition
- Inherits:
-
EffectBase
- Object
- EffectBase
- Contest::Effects::RaisedCondition
- Defined in:
- docs/6_Contest_06_Effects.rb
Overview
Class describing an effect that raises the condition level of a creature
Instance Attribute Summary collapse
-
#activated ⇒ Boolean
readonly
Is the effect activated?.
Attributes inherited from EffectBase
Instance Method Summary collapse
-
#appeal_modifier(_launcher, skill) ⇒ Integer
Function modifying the amount of appeal points gained.
-
#initialize(logic, contestant) ⇒ RaisedCondition
constructor
Create a new effect.
-
#name ⇒ Symbol
Function giving the name of the effect.
-
#update_counter
Function that updates the counter of the effect.
Methods inherited from EffectBase
#dead?, #jam_modifier, #kill, #on_delete, #on_jam
Constructor Details
#initialize(logic, contestant) ⇒ RaisedCondition
Create a new effect
178 179 |
# File 'docs/6_Contest_06_Effects.rb', line 178 def initialize(logic, contestant) end |
Instance Attribute Details
#activated ⇒ Boolean (readonly)
Is the effect activated?
174 175 176 |
# File 'docs/6_Contest_06_Effects.rb', line 174 def activated @activated end |
Instance Method Details
#appeal_modifier(_launcher, skill) ⇒ Integer
Function modifying the amount of appeal points gained
187 188 |
# File 'docs/6_Contest_06_Effects.rb', line 187 def appeal_modifier(_launcher, skill) end |
#name ⇒ Symbol
Function giving the name of the effect
191 192 |
# File 'docs/6_Contest_06_Effects.rb', line 191 def name end |
#update_counter
Function that updates the counter of the effect
181 182 |
# File 'docs/6_Contest_06_Effects.rb', line 181 def update_counter end |