veloren/assets/common/abilities/hammer/singlestrike.ron
Sam d1e1de3b14 Slashing damage now decreases target's energy if available, and if target has no remaining energy will do additional damage.
Piercing damage now ignores an amount of protection equal to the piercing damage value.
Crushing damage now does poise damage equal to the amount of mitigated damage.
When poise damage is dealt while in a poise state, poise damage is instead converted to damage.
2022-01-12 22:18:58 -05:00

39 lines
1.0 KiB
Rust

// ComboMelee(
// stage_data: [(
// stage: 1,
// base_damage: 15.0,
// damage_increase: 1.0,
// base_poise_damage: 20,
// poise_damage_increase: 0,
// knockback: 3.5,
// range: 4.5,
// angle: 50.0,
// base_buildup_duration: 0.2,
// base_swing_duration: 0.1,
// hit_timing: 0.5,
// base_recover_duration: 0.45,
// forward_movement: 0.0,
// damage_kind: Crushing,
// )],
// initial_energy_gain: 5.0,
// max_energy_gain: 15.0,
// energy_increase: 5.0,
// speed_increase: 0.1,
// max_speed_increase: 0.4,
// scales_from_combo: 2,
// is_interruptible: false,
// ori_modifier: 1.0,
// )
BasicMelee(
energy_cost: 0,
buildup_duration: 0.1,
swing_duration: 0.05,
recover_duration: 0.1,
base_damage: 10.0,
base_poise_damage: 0,
knockback: ( strength: 0.0, direction: Away),
range: 5.0,
max_angle: 45.0,
damage_effect: None,
damage_kind: Crushing,
)