Agility stance required abilities

This commit is contained in:
Sam 2022-12-15 22:01:37 -05:00
parent a3d655970e
commit 69665b5418
5 changed files with 33 additions and 82 deletions

View File

@ -1,39 +1,9 @@
ComboMelee2( SelfBuff(
strikes: [ buildup_duration: 0.4,
( cast_duration: 0.3,
melee_constructor: ( recover_duration: 0.3,
kind: Slash( buff_kind: Hastened,
damage: 5, buff_strength: 0.25,
poise: 0, buff_duration: Some(30.0),
knockback: 0, energy_cost: 25,
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,
)

View File

@ -1,39 +1,19 @@
ComboMelee2( RapidMelee(
strikes: [ buildup_duration: 0.1,
( swing_duration: 0.1,
melee_constructor: ( recover_duration: 0.1,
kind: Slash( melee_constructor: (
damage: 5, kind: Slash(
poise: 0, damage: 8,
knockback: 0, poise: 3,
energy_regen: 5, knockback: 0,
), energy_regen: 0,
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,
), ),
( range: 6.0,
melee_constructor: ( angle: 10.0,
kind: Slash( ),
damage: 10, energy_cost: 10,
poise: 0, max_strikes: Some(3),
knockback: 0, move_modifier: 0.35,
energy_regen: 7.5, ori_modifier: 0.25,
), )
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,
)

View File

@ -9,9 +9,8 @@ RapidMelee(
knockback: 0, knockback: 0,
energy_regen: 2, energy_regen: 2,
), ),
range: 6.0, range: 5.0,
angle: 360.0, angle: 5.0,
multi_target: Some(Normal),
), ),
energy_cost: 0, energy_cost: 0,
max_strikes: None, max_strikes: None,

View File

@ -89,7 +89,9 @@ impl Animation for RapidMeleeAnimation {
next.control.orientation.rotate_z(move2 * -1.8); next.control.orientation.rotate_z(move2 * -1.8);
next.control.position += Vec3::new(move2 * 14.0, 0.0, 0.0); 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 { let (move1, move2, move3, move2alt) = match stage_section {
Some(StageSection::Buildup) => (anim_time.powf(0.25), 0.0, 0.0, 0.0), Some(StageSection::Buildup) => (anim_time.powf(0.25), 0.0, 0.0, 0.0),
Some(StageSection::Action) => ( Some(StageSection::Action) => (

View File

@ -101,7 +101,7 @@ impl Animation for SelfBuffAnimation {
next.shorts.orientation.rotate_x(move2 * 0.2); next.shorts.orientation.rotate_x(move2 * 0.2);
next.control.orientation.rotate_z(move2 * 0.4); 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 { let (move1, move2, move3) = match stage_section {
Some(StageSection::Movement) => (anim_time.powf(0.25), 0.0, 0.0), Some(StageSection::Movement) => (anim_time.powf(0.25), 0.0, 0.0),
Some(StageSection::Action) => (1.0, anim_time.powi(2), 0.0), Some(StageSection::Action) => (1.0, anim_time.powi(2), 0.0),