Class: Battle::Effects::Ability::SweetVeil

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

Overview

Class describing the Sweet Veil ability

Instance Method Summary collapse

Constructor Details

#initialize(logic, target, db_symbol) ⇒ SweetVeil

Create a new FlowerGift effect

Parameters:



3570
3571
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3570

def initialize(logic, target, db_symbol)
end

Instance Method Details

#on_status_prevention(handler, status, target, launcher, skill) ⇒ :prevent?

Function called when a status_prevention is checked

Parameters:

Returns:

  • (:prevent, nil) —

    :prevent if the status cannot be applied



3579
3580
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 3579

def on_status_prevention(handler, status, target, launcher, skill)
end