Class: Battle::Effects::Item::PowerHerb

Inherits:
Item
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_05_Item_Effects.rb

Overview

Class describing the Power Herb item effect

Constant Summary collapse

EXCEPTIONS =

List of exceptions for the Power Herb item effect

Returns:

  • (Array<Symbol>)
%i[sky_drop]

Instance Method Summary collapse

Instance Method Details

#exceptions ⇒ Array<Symbol>

Function returning the exceptions list

Returns:

  • (Array<Symbol>)


1400
1401
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 1400

def exceptions
end

#on_two_turn_shortcut(user, targets, skill) ⇒ Boolean?

Function called after a battler proceed its two turn move's first turn

Parameters:

Returns:

  • (Boolean, nil) —

    weither or not the two turns move is executed in one turn



1393
1394
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 1393

def on_two_turn_shortcut(user, targets, skill)
end