mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Agility stance required abilities
This commit is contained in:
parent
a3d655970e
commit
69665b5418
@ -1,39 +1,9 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 5,
|
||||
poise: 0,
|
||||
knockback: 0,
|
||||
energy_regen: 5,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 45.0,
|
||||
),
|
||||
buildup_duration: 0.15,
|
||||
swing_duration: 0.05,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.1,
|
||||
ori_modifier: 0.6,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 10,
|
||||
poise: 0,
|
||||
knockback: 0,
|
||||
energy_regen: 7.5,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 45.0,
|
||||
),
|
||||
buildup_duration: 0.1,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.2,
|
||||
ori_modifier: 0.6,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
||||
SelfBuff(
|
||||
buildup_duration: 0.4,
|
||||
cast_duration: 0.3,
|
||||
recover_duration: 0.3,
|
||||
buff_kind: Hastened,
|
||||
buff_strength: 0.25,
|
||||
buff_duration: Some(30.0),
|
||||
energy_cost: 25,
|
||||
)
|
||||
|
@ -1,39 +1,19 @@
|
||||
ComboMelee2(
|
||||
strikes: [
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 5,
|
||||
poise: 0,
|
||||
knockback: 0,
|
||||
energy_regen: 5,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 45.0,
|
||||
),
|
||||
buildup_duration: 0.15,
|
||||
swing_duration: 0.05,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.1,
|
||||
ori_modifier: 0.6,
|
||||
RapidMelee(
|
||||
buildup_duration: 0.1,
|
||||
swing_duration: 0.1,
|
||||
recover_duration: 0.1,
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 8,
|
||||
poise: 3,
|
||||
knockback: 0,
|
||||
energy_regen: 0,
|
||||
),
|
||||
(
|
||||
melee_constructor: (
|
||||
kind: Slash(
|
||||
damage: 10,
|
||||
poise: 0,
|
||||
knockback: 0,
|
||||
energy_regen: 7.5,
|
||||
),
|
||||
range: 3.0,
|
||||
angle: 45.0,
|
||||
),
|
||||
buildup_duration: 0.1,
|
||||
swing_duration: 0.1,
|
||||
hit_timing: 0.5,
|
||||
recover_duration: 0.2,
|
||||
ori_modifier: 0.6,
|
||||
),
|
||||
],
|
||||
energy_cost_per_strike: 0,
|
||||
)
|
||||
range: 6.0,
|
||||
angle: 10.0,
|
||||
),
|
||||
energy_cost: 10,
|
||||
max_strikes: Some(3),
|
||||
move_modifier: 0.35,
|
||||
ori_modifier: 0.25,
|
||||
)
|
||||
|
@ -9,9 +9,8 @@ RapidMelee(
|
||||
knockback: 0,
|
||||
energy_regen: 2,
|
||||
),
|
||||
range: 6.0,
|
||||
angle: 360.0,
|
||||
multi_target: Some(Normal),
|
||||
range: 5.0,
|
||||
angle: 5.0,
|
||||
),
|
||||
energy_cost: 0,
|
||||
max_strikes: None,
|
||||
|
@ -89,7 +89,9 @@ impl Animation for RapidMeleeAnimation {
|
||||
next.control.orientation.rotate_z(move2 * -1.8);
|
||||
next.control.position += Vec3::new(move2 * 14.0, 0.0, 0.0);
|
||||
},
|
||||
Some("common.abilities.sword.agile_perforate") => {
|
||||
Some(
|
||||
"common.abilities.sword.agile_perforate" | "common.abilities.sword.agile_flurry",
|
||||
) => {
|
||||
let (move1, move2, move3, move2alt) = match stage_section {
|
||||
Some(StageSection::Buildup) => (anim_time.powf(0.25), 0.0, 0.0, 0.0),
|
||||
Some(StageSection::Action) => (
|
||||
|
@ -101,7 +101,7 @@ impl Animation for SelfBuffAnimation {
|
||||
next.shorts.orientation.rotate_x(move2 * 0.2);
|
||||
next.control.orientation.rotate_z(move2 * 0.4);
|
||||
},
|
||||
Some("common.abilities.sword.mobility_agility") => {
|
||||
Some("common.abilities.sword.agile_dancing_edge") => {
|
||||
let (move1, move2, move3) = match stage_section {
|
||||
Some(StageSection::Movement) => (anim_time.powf(0.25), 0.0, 0.0),
|
||||
Some(StageSection::Action) => (1.0, anim_time.powi(2), 0.0),
|
||||
|
Loading…
Reference in New Issue
Block a user