Attack system revamp (#82)
- Add crouch cancelling - Add IASA for aerial attacks - Add scaffolding for autocancel - Add hitbox group system - Add new ergonomic features for attack scripting - Add more information to the hitbox viewer - Improve the looks of debug capsules Reviewed-on: #82 Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #82.
This commit is contained in:
+7
-1
@@ -293,10 +293,16 @@ pub struct FighterActiveAttack {
|
||||
pub script: Handle<FighterAttackScript>,
|
||||
pub active_hitboxes: Vec<usize>,
|
||||
pub solved_hitboxes: Vec<attack::FighterSolvedHitbox>,
|
||||
pub hit_fighters: Vec<Entity>,
|
||||
pub hit_groups: Vec<FighterHitGroupState>,
|
||||
pub stalled: bool,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Hash)]
|
||||
pub struct FighterHitGroupState {
|
||||
pub group: u32,
|
||||
pub hit_fighters: Vec<Entity>,
|
||||
}
|
||||
|
||||
#[derive(Component, Clone, Debug, Default, Hash)]
|
||||
pub struct FighterHitboxes(pub Option<FighterActiveAttack>);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user