Class: Battle::Effects::Item::HpTriggeredStatBerries
- Defined in:
- docs/5_Battle_06_Effects_05_Item_Effects.rb
Overview
Class describing Hp Triggered Stat Berries item effects
Defined Under Namespace
Classes: Apicot, Ganlon, Petaya, Salac, Starf
Constant Summary
Constants inherited from Berry
Instance Method Summary collapse
-
#execute_berry_effect(force_heal: false, force_execution: false)
Function that executes the effect of the berry (for Pluck & Bug Bite).
-
#on_end_turn_event(logic, scene, battlers)
Function called at the end of a turn.
-
#on_post_damage(handler, hp, target, launcher, skill)
Function called after damages were applied (post_damage, when target is still alive).
Instance Method Details
#execute_berry_effect(force_heal: false, force_execution: false)
Function that executes the effect of the berry (for Pluck & Bug Bite)
270 271 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 270 def execute_berry_effect(force_heal: false, force_execution: false) end |
#on_end_turn_event(logic, scene, battlers)
Function called at the end of a turn
265 266 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 265 def on_end_turn_event(logic, scene, battlers) end |
#on_post_damage(handler, hp, target, launcher, skill)
Function called after damages were applied (post_damage, when target is still alive)
259 260 |
# File 'docs/5_Battle_06_Effects_05_Item_Effects.rb', line 259 def on_post_damage(handler, hp, target, launcher, skill) end |