veloren/assets/common/abilities/sword/triplestrike.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

92 lines
2.7 KiB
Rust

// ComboMelee(
// stage_data: [
// (
// stage: 1,
// base_damage: 10.0,
// damage_increase: 1.0,
// base_poise_damage: 10,
// poise_damage_increase: 0,
// knockback: 0.0,
// range: 4.0,
// angle: 30.0,
// base_buildup_duration: 0.1,
// base_swing_duration: 0.075,
// hit_timing: 0.5,
// base_recover_duration: 0.15,
// forward_movement: 0.5,
// damage_kind: Slashing,
// damage_effect: Some(Buff((
// kind: Bleeding,
// dur_secs: 10.0,
// strength: DamageFraction(0.1),
// chance: 0.1,
// ))),
// ),
// (
// stage: 2,
// base_damage: 8.0,
// damage_increase: 1.5,
// base_poise_damage: 13,
// poise_damage_increase: 0,
// knockback: 2.0,
// range: 3.5,
// angle: 40.0,
// base_buildup_duration: 0.1,
// base_swing_duration: 0.1,
// hit_timing: 0.5,
// base_recover_duration: 0.3,
// forward_movement: 0.0,
// damage_kind: Slashing,
// damage_effect: Some(Buff((
// kind: Bleeding,
// dur_secs: 10.0,
// strength: DamageFraction(0.1),
// chance: 0.1,
// ))),
// ),
// (
// stage: 3,
// base_damage: 13,
// damage_increase: 2,
// base_poise_damage: 15,
// poise_damage_increase: 0,
// knockback: 2.0,
// range: 6.0,
// angle: 10.0,
// base_buildup_duration: 0.15,
// base_swing_duration: 0.1,
// hit_timing: 0.2,
// base_recover_duration: 0.35,
// forward_movement: 1.2,
// damage_kind: Piercing,
// damage_effect: Some(Buff((
// kind: Bleeding,
// dur_secs: 10.0,
// strength: DamageFraction(0.1),
// chance: 0.1,
// ))),
// ),
// ],
// initial_energy_gain: 0,
// max_energy_gain: 20.0,
// energy_increase: 2.5,
// speed_increase: 0.1,
// max_speed_increase: 0.8,
// scales_from_combo: 2,
// is_interruptible: true,
// 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: Piercing,
)