Class: Battle::Effects::Protect::KingsShield

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

Overview

Implement the King's Shield effect

Direct Known Subclasses

BurningBulwark, Obstruct, SilkTrap

Instance Method Summary collapse

Instance Method Details

#goes_through_protect?(user, target, move) ⇒ Boolean

Function called when we try to check if the move goes through protect

Parameters:

Returns:

  • (Boolean) —

    if the move goes through protect



1699
1700
# File 'docs/5_Battle_06_Effects_02_Move_Effects.rb', line 1699

def goes_through_protect?(user, target, move)
end