mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'james/agent-tactic-refactor' into 'master'
Move weapon tactics to functions and take target body into attack radius consideration See merge request veloren/veloren!2263
This commit is contained in:
commit
1ef748c4f3
@ -15,34 +15,6 @@ use super::dialogue::Subject;
|
|||||||
pub const DEFAULT_INTERACTION_TIME: f32 = 3.0;
|
pub const DEFAULT_INTERACTION_TIME: f32 = 3.0;
|
||||||
pub const TRADE_INTERACTION_TIME: f32 = 300.0;
|
pub const TRADE_INTERACTION_TIME: f32 = 300.0;
|
||||||
|
|
||||||
#[derive(Eq, PartialEq)]
|
|
||||||
pub enum Tactic {
|
|
||||||
Melee,
|
|
||||||
Axe,
|
|
||||||
Hammer,
|
|
||||||
Sword,
|
|
||||||
Bow,
|
|
||||||
Staff,
|
|
||||||
StoneGolem,
|
|
||||||
CircleCharge { radius: u32, circle_time: u32 },
|
|
||||||
QuadLowRanged,
|
|
||||||
TailSlap,
|
|
||||||
QuadLowQuick,
|
|
||||||
QuadLowBasic,
|
|
||||||
QuadLowBeam,
|
|
||||||
QuadMedJump,
|
|
||||||
QuadMedBasic,
|
|
||||||
Lavadrake,
|
|
||||||
Theropod,
|
|
||||||
Turret,
|
|
||||||
FixedTurret,
|
|
||||||
RotatingTurret,
|
|
||||||
Mindflayer,
|
|
||||||
BirdLargeBreathe,
|
|
||||||
BirdLargeFire,
|
|
||||||
Minotaur,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq)]
|
#[derive(Copy, Clone, Debug, PartialEq)]
|
||||||
pub enum Alignment {
|
pub enum Alignment {
|
||||||
/// Wild animals and gentle giants
|
/// Wild animals and gentle giants
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user