Fixed issue where you could cancel combo melee 2 mid strike

This commit is contained in:
Sam 2022-09-11 03:49:25 -04:00
parent 5757b0bdf0
commit b3a15f61aa
2 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,8 @@ SelfBuff(
cast_duration: 0.4,
recover_duration: 0.25,
buff_kind: Hastened,
buff_strength: 0.5,
buff_duration: Some(20.0),
buff_strength: 0.3,
buff_duration: Some(15.0),
energy_cost: 40,
meta: (
kind: Some(Sword(Mobility)),

View File

@ -255,7 +255,7 @@ impl CharacterBehavior for Data {
) -> StateUpdate {
let mut update = StateUpdate::from(data);
if matches!(data.character, CharacterState::ComboMelee2(data) if data.static_data.ability_info.input == input && input != InputKind::Primary) {
if matches!(data.character, CharacterState::ComboMelee2(data) if data.static_data.ability_info.input == input && input != InputKind::Primary && data.stage_section.is_none()) {
end_ability(data, &mut update);
} else {
update.queued_inputs.insert(input, InputAttr {