Class: Battle::Effects::Ability::StanceChange

Inherits:
Ability
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_04_Ability_Effects.rb

Overview

Class describing the Stance Change ability Stance Change allows Aegislash to switch between its Shield Forme and Blade Forme.

Instance Method Summary collapse

Instance Method Details

#on_move_prevention_user(user, targets, move) ⇒ :prevent?

Function called when we try to use a move as the user (returns :prevent if user fails)

Parameters:

Returns:

  • (:prevent, nil) —

    :prevent if the move cannot continue



3395
3396
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3395

def on_move_prevention_user(user, targets, move)
end