Class: Contest::Effects::PreventJamOneTime

Inherits:
PreventJamOneTurn show all
Defined in:
docs/6_Contest_06_Effects.rb

Overview

Class describing an effect that prevent getting jammed once

Instance Attribute Summary

Attributes inherited from EffectBase

#contestant, #counter, #logic

Instance Method Summary collapse

Methods inherited from PreventJamOneTurn

#initialize, #jam_modifier

Methods inherited from EffectBase

#appeal_modifier, #dead?, #initialize, #jam_modifier, #kill, #on_delete, #update_counter

Constructor Details

This class inherits a constructor from Contest::Effects::PreventJamOneTurn

Instance Method Details

#name ⇒ Symbol

Function giving the name of the effect

Returns:

  • (Symbol)


167
168
# File 'docs/6_Contest_06_Effects.rb', line 167

def name
end

#on_jam(_launcher, _skill)

Function called when the creature is getting jammed

Parameters:



163
164
# File 'docs/6_Contest_06_Effects.rb', line 163

def on_jam(_launcher, _skill)
end