Class: Contest::EffectTagMechanic::TryMakeNervous

Inherits:
EffectTagMechanic
  • Object
show all
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

Returns:

  • (Integer)
25

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#attempt_successful ⇒ Boolean (readonly)

Whether the attempt to make others nervous was successful

Returns:

  • (Boolean)


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?

Returns:

  • (Boolean)


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?

Returns:

  • (Boolean)


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 show_message_after
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 show_message_before
end