Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module AresMUSH
- module FS3Combat
- def self.roll_attack(combatant, target, mod = 0)
- ability = FS3Combat.weapon_stat(combatant.weapon, "skill")
- accuracy_mod = FS3Combat.weapon_stat(combatant.weapon, "accuracy")
- special_mod = combatant.attack_mod
- damage_mod = combatant.total_damage_mod
- stance_mod = combatant.attack_stance_mod
- stress_mod = combatant.stress
- aiming_mod = (combatant.is_aiming? && (combatant.aim_target == combatant.action.target)) ? 3 : 0
- luck_mod = (combatant.luck == "Attack") ? 3 : 0
- distraction_mod = combatant.distraction
- scale_combatant = combatant.associated_model.scale
- scale_target = target.associated_model.scale
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement