Class: Battle::Effects::Protect::QuickGuard

Inherits:
Protect
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_02_Move_Effects.rb

Overview

Implement the Quick Guard effect

Instance Method Summary collapse

Instance Method Details

#on_move_prevention_target(user, target, move) ⇒ Boolean

Function called when we try to check if the target evades the move

Parameters:

Returns:

  • (Boolean) —

    if the target is evading the move



1806
1807
# File 'docs/5_Battle_06_Effects_02_Move_Effects.rb', line 1806

def on_move_prevention_target(user, target, move)
end