Class: Battle::Move::OrderUp

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

Overview

Class describing the Order Up move effect

Constant Summary collapse

COMMANDERS =

Commanders stats boost table

Returns:

  • (Hash{Symbol => Hash})
{tatsugiri: {forms: [{form: 0, stats: {atk: 1}}, {form: 1, stats: {dfe: 1}}, {form: 2, stats: {spd: 1}}]}}

Instance Method Summary collapse

Methods inherited from Basic

#deal_damage

Instance Method Details

#deal_effect(user, actual_targets)

Function that deals the effect to the pokemon

Parameters:



5044
5045
# File 'docs/5_Battle_10_Move.rb', line 5044

def deal_effect(user, actual_targets)
end

#effect_working?(user, actual_targets) ⇒ Boolean

Test if the effect is working

Parameters:

Returns:

  • (Boolean)


5039
5040
# File 'docs/5_Battle_10_Move.rb', line 5039

def effect_working?(user, actual_targets)
end