Class: Battle::Move::CustomStatsBased
- Defined in:
- docs/5_Battle_10_Move.rb
Overview
Class describing the Custom Stats Based moves
Constant Summary collapse
- ATS_PHYSICAL_MOVES =
Physical moves that use the special attack
%i[psyshock secret_sword]
- ATK_SPECIAL_MOVES =
Special moves that use the attack
[]
Instance Method Summary collapse
-
#calc_atk_stat_effect_modifier(user, target, ph_move) ⇒ Integer
Statistic effect modifier calculation: ATK/ATS.
-
#calc_atk_stat_modifier(user, target, ph_move) ⇒ Integer
Statistic modifier calculation: ATK/ATS.
-
#calc_sp_atk_basis(user, target, ph_move) ⇒ Integer
Get the basis atk for the move.
-
#physical? ⇒ Boolean
Is the skill physical ?.
-
#special? ⇒ Boolean
Is the skill special ?.
Methods inherited from Basic
#deal_damage, #effect_working?
Instance Method Details
#calc_atk_stat_effect_modifier(user, target, ph_move) ⇒ Integer
Statistic effect modifier calculation: ATK/ATS
2663 2664 |
# File 'docs/5_Battle_10_Move.rb', line 2663 def calc_atk_stat_effect_modifier(user, target, ph_move) end |
#calc_atk_stat_modifier(user, target, ph_move) ⇒ Integer
Statistic modifier calculation: ATK/ATS
2656 2657 |
# File 'docs/5_Battle_10_Move.rb', line 2656 def calc_atk_stat_modifier(user, target, ph_move) end |
#calc_sp_atk_basis(user, target, ph_move) ⇒ Integer
Get the basis atk for the move
2649 2650 |
# File 'docs/5_Battle_10_Move.rb', line 2649 def calc_sp_atk_basis(user, target, ph_move) end |
#physical? ⇒ Boolean
Is the skill physical ?
2638 2639 |
# File 'docs/5_Battle_10_Move.rb', line 2638 def physical? end |
#special? ⇒ Boolean
Is the skill special ?
2642 2643 |
# File 'docs/5_Battle_10_Move.rb', line 2642 def special? end |