Class: Contest::EffectTagMechanic::TryMakeNervous
- Inherits:
-
EffectTagMechanic
- Object
- EffectTagMechanic
- Contest::EffectTagMechanic::TryMakeNervous
- Defined in:
- docs/6_Contest_05_Move.rb
Overview
Base class for effect tag mechanics trying to make other contestants nervous and skip their turn
Constant Summary collapse
- BASE_NERVOUS_CHANCE =
Base chance to make a target nervous
25
Instance Attribute Summary collapse
-
#attempt_successful ⇒ Boolean
readonly
Whether the attempt to make others nervous was successful.
Instance Method Summary collapse
-
#affects_next_contestants? ⇒ Boolean
Does this effect tag affect the next contestants?.
-
#apply_effects
Method called to apply the effects linked to this effect tag.
-
#better_early_round? ⇒ Boolean
Is this effect tag better used early in a round?.
-
#show_message_after
Show the message linked to this effect tag after applying it.
-
#show_message_before
Show the message linked to this effect tag before applying it.
Instance Attribute Details
#attempt_successful ⇒ Boolean (readonly)
Whether the attempt to make others nervous was successful
384 385 386 |
# File 'docs/6_Contest_05_Move.rb', line 384 def attempt_successful @attempt_successful end |
Instance Method Details
#affects_next_contestants? ⇒ Boolean
Does this effect tag affect the next contestants?
403 404 |
# File 'docs/6_Contest_05_Move.rb', line 403 def affects_next_contestants? end |
#apply_effects
Method called to apply the effects linked to this effect tag
389 390 |
# File 'docs/6_Contest_05_Move.rb', line 389 def apply_effects end |
#better_early_round? ⇒ Boolean
Is this effect tag better used early in a round?
399 400 |
# File 'docs/6_Contest_05_Move.rb', line 399 def better_early_round? end |
#show_message_after
Show the message linked to this effect tag after applying it
395 396 |
# File 'docs/6_Contest_05_Move.rb', line 395 def end |
#show_message_before
Show the message linked to this effect tag before applying it
392 393 |
# File 'docs/6_Contest_05_Move.rb', line 392 def end |