#[cfg(test)] mod tests { use common::{ comp::{ item::MaterialStatManifest, skills::GeneralSkill, CharacterState, Controller, Energy, Ori, PhysicsState, Poise, Pos, Skill, Stats, Vel, }, resources::{DeltaTime, GameMode, Time}, uid::Uid, util::Dir, SkillSetBuilder, }; use common_ecs::dispatch; use common_state::State; use rand::thread_rng; use specs::{Builder, Entity, WorldExt}; use std::time::Duration; use vek::{approx::AbsDiffEq, Vec3}; use veloren_common_systems::character_behavior; fn setup() -> State { let mut state = State::new(GameMode::Server); let msm = MaterialStatManifest::load().cloned(); state.ecs_mut().insert(msm); state.ecs_mut().read_resource::