add coranth moving towards target and post-attack event

This commit is contained in:
Jim 2025-08-28 08:34:40 -04:00
parent e9790f156d
commit 1f8ecf9a9e
Signed by: jim
GPG key ID: 3236D2F059A7C0AC
15 changed files with 249 additions and 58 deletions

View file

@ -3,7 +3,7 @@
#![allow(clippy::too_many_arguments)]
use bevy::prelude::*;
use combat::Health;
use combat::{Health, Team};
pub struct BuildingPlugin;
@ -12,7 +12,7 @@ impl Plugin for BuildingPlugin {
}
#[derive(Component, Default)]
#[require(Health)]
#[require(Health, Team::Core)]
pub struct Building {
pub level: u32,
}