Class: Battle::Move::CustomStatsBased
- Inherits:
-
Basic
- Object
- Battle::Move
- Basic
- Battle::Move::CustomStatsBased
- Defined in:
- docs/5_Battle_10_Move.rb
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
[]
Constants inherited from Battle::Move
OneTarget, REGISTERED_MOVES, R_RANGE, TargetNoAsk
Instance Attribute Summary
Attributes inherited from Battle::Move
#consecutive_use_count, #damage_dealt, #effectiveness, #forced_next_move_decrease_pp, #id, #logic, #original, #original_target, #pp, #ppmax, #scene, #thrown_item_effect, #used, #user
Instance Method Summary collapse
-
#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?
Methods inherited from Battle::Move
[], #accuracy, #accuracy_mod, #accuracy_text, #atk_class, #authentic?, #ballistics?, #battle_stage_mod, #battler_targets, #be_method, #bite?, #blocable?, #blocked_by?, #bypass_chance_of_hit?, #calc_stab, #chance_of_hit, #check_specific_procedure, #clone, #critical_hit?, #critical_rate, #damages, #dance?, #data, #db_symbol, #deal_effect_sheer_force, #definitive_types, #description, #direct?, #disable_reason, #disabled?, #drain_factor, #effect_chance, #efficent_message, #evasion_mod, #force_switch?, #gravity_affected?, #heal?, #initialize, #magic_coat_affected?, #mental?, #mirror_move_affected?, #move_blocked_by_target?, #move_usable_by_user, #multi_hit?, #multi_turn?, #name, #no_choice_skill?, #not_very_effective?, #ohko?, #one_target?, #one_target_from_zone_attack, #powder?, #power, #power_text, #pp_text, #pre_attack?, #priority, #proceed, #proceed_internal_dancer, #proceed_internal_parental_bond, #proceed_internal_sheer_force, #proceed_pre_attack, #pulse?, #punching?, #real_base_power, #recharge?, #recoil?, #recoil_factor, register, register_move_disabled_check_hook, register_move_prevention_target_hook, register_move_prevention_user_hook, register_move_type_change_hook, register_single_type_multiplier_overwrite_hook, #relative_priority, #self_user_switch?, #show_usage_failure, #slicing_attack?, #snatchable?, #sound_attack?, #status?, #status_effects, #super_effective?, #target, #to_s, #trigger_king_rock?, #two_turn?, #type, #type?, #type_dark?, #type_dragon?, #type_electric?, #type_fairy?, #type_fighting?, #type_fire?, #type_flying?, #type_ghost?, #type_grass?, #type_ground?, #type_ice?, #type_insect?, #type_modifier, #type_normal?, #type_poison?, #type_psychic?, #type_rock?, #type_steel?, #type_water?, #typeless?, #unfreeze?, #wind_attack?
Methods included from Hooks
#exec_hooks, #force_return, included, register, remove, remove_without_name
Constructor Details
This class inherits a constructor from Battle::Move
Instance Method Details
#calc_atk_stat_modifier(user, target, ph_move) ⇒ Integer
Statistic modifier calculation: ATK/ATS
2525 2526 |
# File 'docs/5_Battle_10_Move.rb', line 2525 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
2518 2519 |
# File 'docs/5_Battle_10_Move.rb', line 2518 def calc_sp_atk_basis(user, target, ph_move) end |
#physical? ⇒ Boolean
Is the skill physical ?
2507 2508 |
# File 'docs/5_Battle_10_Move.rb', line 2507 def physical? end |
#special? ⇒ Boolean
Is the skill special ?
2511 2512 |
# File 'docs/5_Battle_10_Move.rb', line 2511 def special? end |