Class: Battle::Effects::Ability::QuarkDrive
- Defined in:
- docs/5_Battle_06_Effects_04_Ability_Effects.rb
Overview
Class describing the Quark Drive ability effect
Constant Summary collapse
- TEXTS_IDS =
Text IDs for each stat boost message
{atk: 1702, dfe: 1706, ats: 1710, dfs: 1714, spd: 1718}
Instance Method Summary collapse
-
#atk_modifier ⇒ Float, Integer
Give the atk modifier over given to the Pokemon with this effect.
-
#ats_modifier ⇒ Float, Integer
Give the ats modifier over given to the Pokemon with this effect.
-
#dfe_modifier ⇒ Float, Integer
Give the dfe modifier over given to the Pokemon with this effect.
-
#dfs_modifier ⇒ Float, Integer
Give the dfs modifier over given to the Pokemon with this effect.
-
#initialize(logic, target, db_symbol) ⇒ QuarkDrive
constructor
Create a new FlowerGift effect.
-
#on_post_fterrain_change(handler, fterrain_type, last_fterrain)
Function called after the terrain was changed.
-
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one.
-
#spd_modifier ⇒ Float, Integer
Give the speed modifier over given to the Pokemon with this effect.
Constructor Details
#initialize(logic, target, db_symbol) ⇒ QuarkDrive
Create a new FlowerGift effect
2883 2884 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2883 def initialize(logic, target, db_symbol) end |
Instance Method Details
#atk_modifier ⇒ Float, Integer
Give the atk modifier over given to the Pokemon with this effect
2899 2900 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2899 def atk_modifier end |
#ats_modifier ⇒ Float, Integer
Give the ats modifier over given to the Pokemon with this effect
2911 2912 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2911 def ats_modifier end |
#dfe_modifier ⇒ Float, Integer
Give the dfe modifier over given to the Pokemon with this effect
2903 2904 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2903 def dfe_modifier end |
#dfs_modifier ⇒ Float, Integer
Give the dfs modifier over given to the Pokemon with this effect
2915 2916 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2915 def dfs_modifier end |
#on_post_fterrain_change(handler, fterrain_type, last_fterrain)
Function called after the terrain was changed
2895 2896 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2895 def on_post_fterrain_change(handler, fterrain_type, last_fterrain) end |
#on_switch_event(handler, who, with)
Function called when a Pokemon has actually switched with another one
2889 2890 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2889 def on_switch_event(handler, who, with) end |
#spd_modifier ⇒ Float, Integer
Give the speed modifier over given to the Pokemon with this effect
2907 2908 |
# File 'docs/5_Battle_06_Effects_04_Ability_Effects.rb', line 2907 def spd_modifier end |