hastestrike / hybridblast
This commit is contained in:
parent
21903cc27c
commit
fb78e7cfae
@ -470,6 +470,11 @@ impl Game {
|
|||||||
return self;
|
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
|
// for aoe events send the source / target animations before each set of casts
|
||||||
if cast.skill.aoe() {
|
if cast.skill.aoe() {
|
||||||
if cast.skill.cast_animation() {
|
if cast.skill.cast_animation() {
|
||||||
@ -522,13 +527,6 @@ impl Game {
|
|||||||
return self;
|
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) {
|
if let Some(immunity) = self.construct(cast.target).immune(cast.skill) {
|
||||||
self.add_resolution(&cast, &Event::Immune { construct: cast.target, effects: immunity });
|
self.add_resolution(&cast, &Event::Immune { construct: cast.target, effects: immunity });
|
||||||
return self;
|
return self;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user