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