add coranth moving towards target and post-attack event
This commit is contained in:
parent
e9790f156d
commit
1f8ecf9a9e
15 changed files with 249 additions and 58 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue