Class: Battle::Move::CounterBase
- Includes:
- Mechanics::Counter
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Base class for counter moves, deals damage equal to 1.5/2x opponent's move.
Direct Known Subclasses
Instance Method Summary collapse
-
#counter_fails_common?(attacker, user) ⇒ Boolean
Test if the attack fails based on common conditions.
Methods included from Mechanics::Counter
#damages, #move_usable_by_user
Methods inherited from Basic
#deal_damage, #effect_working?
Instance Method Details
#counter_fails_common?(attacker, user) ⇒ Boolean
Test if the attack fails based on common conditions
2526 2527 |
# File 'docs/5_Battle_10_Move.rb', line 2526 def counter_fails_common?(attacker, user) end |