mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed issue where you could cancel combo melee 2 mid strike
This commit is contained in:
parent
5757b0bdf0
commit
b3a15f61aa
@ -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)),
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user