Class: Battle::Effects::Ability::Moxie

Inherits:
Ability
  • Object
show all
Defined in:
docs/5_Battle_06_Effects_04_Ability_Effects.rb

Overview

Class describing the Moxie ability effect (and its variant Chilling Neigh)

Direct Known Subclasses

AsOne, GrimNeigh

Instance Method Summary collapse

Constructor Details

#initialize(logic, target, db_symbol) ⇒ Moxie

Create a new Moxie effect

Parameters:



2168
2169
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2168

def initialize(logic, target, db_symbol)
end

Instance Method Details

#boosted_stat

The stat that will be boosted



2179
2180
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2179

def boosted_stat
end

#on_post_damage_death(handler, hp, target, launcher, skill)

Function called after damages were applied and when target died (post_damage_death)

Parameters:



2176
2177
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2176

def on_post_damage_death(handler, hp, target, launcher, skill)
end