Class: Battle::Move::Feint

Inherits:
BasicWithSuccessfulEffect show all
Defined in:
docs/5_Battle_10_Move.rb

Overview

Feint has an increased power if the target used Protect or Detect during this turn. It lift the effects of protection moves.

Instance Method Summary collapse

Methods inherited from BasicWithSuccessfulEffect

#effect_working?

Methods inherited from Basic

#deal_damage, #effect_working?

Instance Method Details

#blocked_by?(target, symbol) ⇒ Boolean

Detect if the move is protected by another move on target

Parameters:

Returns:

  • (Boolean)


3068
3069
# File 'docs/5_Battle_10_Move.rb', line 3068

def blocked_by?(target, symbol)
end

#real_base_power(user, target) ⇒ Integer

Get the real base power of the move (taking in account all parameter)

Parameters:

Returns:

  • (Integer)


3063
3064
# File 'docs/5_Battle_10_Move.rb', line 3063

def real_base_power(user, target)
end