removeall

This commit is contained in:
ntr 2019-12-09 15:52:49 +10:00
parent 3fafad8504
commit c5c6169806
2 changed files with 5 additions and 5 deletions

View File

@ -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 },
}

View File

@ -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 {