Class: Battle::Effects::Item::MirrorHerb
- Defined in:
- docs/5_Battle_06_Effects_05_Item_Effects.rb
Overview
Class describing the Mirror Herb item effect
Instance Method Summary collapse
-
#activated? ⇒ Boolean
Check if the item effect is activated.
-
#initialize(logic, target, db_symbol) ⇒ MirrorHerb
constructor
Create a new item effect.
-
#on_post_action_event(logic, scene, battlers)
Function called at the end of an action.
-
#on_stat_change_post(handler, stat, power, target, launcher, skill) ⇒ Integer?
Function called when a stat_change has been applied.
Constructor Details
#initialize(logic, target, db_symbol) ⇒ MirrorHerb
Create a new item effect
1313 1314 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 1313 def initialize(logic, target, db_symbol) end |
Instance Method Details
#activated? ⇒ Boolean
Check if the item effect is activated
1317 1318 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 1317 def activated? end |
#on_post_action_event(logic, scene, battlers)
Function called at the end of an action
1333 1334 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 1333 def on_post_action_event(logic, scene, battlers) end |
#on_stat_change_post(handler, stat, power, target, launcher, skill) ⇒ Integer?
Function called when a stat_change has been applied
1327 1328 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 1327 def on_stat_change_post(handler, stat, power, target, launcher, skill) end |