Module: Battle::Move::Mechanics::PowerBasedOnItem
Overview
Preset used for attacks with power based on held item. Should be included only in a Battle::Move class or a class with the same interface The includer must overwrite the following methods:
-
private consume_item?
-
private valid_item_hold?
-
private get_power_by_item
Instance Method Summary collapse
-
#real_base_power(user, target) ⇒ Integer
(also: #power_based_on_item_real_base_power)
Get the real base power of the move (taking in account all parameter).
Methods included from ItemBased
Instance Method Details
#real_base_power(user, target) ⇒ Integer Also known as: power_based_on_item_real_base_power
Get the real base power of the move (taking in account all parameter)
1006 1007 |
# File 'docs/5_Battle_10_Move.rb', line 1006 def real_base_power(user, target) end |