Did stuff to support addition of keyframes for combo melee animation.

This commit is contained in:
Sam
2020-09-06 11:01:15 -05:00
parent aab56ea636
commit 440e45f2bc
3 changed files with 58 additions and 27 deletions

View File

@ -336,12 +336,14 @@ impl From<&CharacterAbility> for CharacterState {
num_stages: stage_data.len() as u32,
combo: 0,
stage_data: stage_data.clone(),
exhausted: false,
initial_energy_gain: *initial_energy_gain,
max_energy_gain: *max_energy_gain,
energy_increase: *energy_increase,
combo_duration: *combo_duration,
timer: Duration::default(),
in_buildup: true,
in_recover: false,
in_combo: false,
}),
CharacterAbility::LeapMelee {
energy_cost: _,