Class: Battle::Effects::Ability::QueenlyMajesty

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

Overview

Class describing the Queenly Majesty and Dazzling ability 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



2937
2938
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2937

def on_move_prevention_target(user, target, move)
end