Mind component is now properly applied

Applied by default to all mobs, unless they have the MINDLESS flag
This commit is contained in:
Llywelwyn 2023-08-01 12:28:57 +01:00
parent c43408b8aa
commit 6f8f42d9fc
3 changed files with 9 additions and 5 deletions

View file

@ -1,7 +1,7 @@
use super::{
ai::NORMAL_SPEED, gamelog, gamesystem, gamesystem::attr_bonus, random_table::RandomTable, raws, Attribute,
Attributes, Clock, Energy, HungerClock, HungerState, Map, Name, Player, Pool, Pools, Position, Rect, Renderable,
SerializeMe, Skill, Skills, TileType, Viewshed,
ai::NORMAL_SPEED, gamesystem, gamesystem::attr_bonus, random_table::RandomTable, raws, Attribute, Attributes,
Clock, Energy, HungerClock, HungerState, Map, Name, Player, Pool, Pools, Position, Rect, Renderable, SerializeMe,
Skill, Skills, TileType, Viewshed,
};
use rltk::{RandomNumberGenerator, RGB};
use specs::prelude::*;