removeall
This commit is contained in:
parent
3fafad8504
commit
c5c6169806
@ -863,7 +863,7 @@ pub enum Value {
|
|||||||
// Skills { construct: Uuid, colour: Colour },
|
// Skills { construct: Uuid, colour: Colour },
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug,Clone,PartialEq,Serialize,Deserialize)]
|
#[derive(Debug,PartialEq)]
|
||||||
pub enum Action {
|
pub enum Action {
|
||||||
Hit,
|
Hit,
|
||||||
Cast,
|
Cast,
|
||||||
@ -871,7 +871,7 @@ pub enum Action {
|
|||||||
Damage { construct: Uuid, values: Vec<Value>, colour: Colour },
|
Damage { construct: Uuid, values: Vec<Value>, colour: Colour },
|
||||||
Effect { construct: Uuid, effect: ConstructEffect },
|
Effect { construct: Uuid, effect: ConstructEffect },
|
||||||
Remove { construct: Uuid, effect: Effect },
|
Remove { construct: Uuid, effect: Effect },
|
||||||
RemoveAll { construct: Uuid },
|
RemoveAll { construct: Uuid },
|
||||||
IncreaseCooldowns { construct: Uuid, turns: usize },
|
IncreaseCooldowns { construct: Uuid, turns: usize },
|
||||||
// Recharge { skill: Skill, red: usize, blue: usize },
|
// Recharge { skill: Skill, red: usize, blue: usize },
|
||||||
}
|
}
|
||||||
|
|||||||
@ -552,7 +552,7 @@ impl Cast {
|
|||||||
],
|
],
|
||||||
|
|
||||||
Skill::Purge => vec![
|
Skill::Purge => vec![
|
||||||
Action::Purge {
|
Action::RemoveAll {
|
||||||
construct: self.target,
|
construct: self.target,
|
||||||
},
|
},
|
||||||
Action::Effect {
|
Action::Effect {
|
||||||
@ -561,7 +561,7 @@ impl Cast {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
Skill::PurgePlus => vec![
|
Skill::PurgePlus => vec![
|
||||||
Action::Purge {
|
Action::RemoveAll {
|
||||||
construct: self.target,
|
construct: self.target,
|
||||||
},
|
},
|
||||||
Action::Effect {
|
Action::Effect {
|
||||||
@ -570,7 +570,7 @@ impl Cast {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
Skill::PurgePlusPlus => vec![
|
Skill::PurgePlusPlus => vec![
|
||||||
Action::Purge {
|
Action::RemoveAll {
|
||||||
construct: self.target,
|
construct: self.target,
|
||||||
},
|
},
|
||||||
Action::Effect {
|
Action::Effect {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user