hastestrike / hybridblast

This commit is contained in:
Mashy 2019-12-11 18:30:12 +10:00
parent 21903cc27c
commit fb78e7cfae

View File

@ -470,6 +470,11 @@ impl Game {
return self;
}
// hastestrike / hybridblast
for skill in self.construct(cast.source).additional_skills(cast.skill) {
self.resolve(Cast { skill, ..cast });
}
// for aoe events send the source / target animations before each set of casts
if cast.skill.aoe() {
if cast.skill.cast_animation() {
@ -522,13 +527,6 @@ impl Game {
return self;
}
// hastestrike / hybridblast
// i think this goes here...
// maybe in modify casts or something
for skill in self.construct(cast.target).additional_skills(cast.skill) {
self.resolve(Cast { skill, ..cast });
}
if let Some(immunity) = self.construct(cast.target).immune(cast.skill) {
self.add_resolution(&cast, &Event::Immune { construct: cast.target, effects: immunity });
return self;