disables
This commit is contained in:
parent
2bb9482bc5
commit
acd6ae62e0
@ -517,6 +517,11 @@ impl Game {
|
||||
// such as healing based on damage done etc
|
||||
let mut event_list = vec![];
|
||||
|
||||
if let Some(effects) = self.construct(cast.source).disabled(cast.skill) {
|
||||
self.add_resolution(&cast, &Event::Disable { construct: cast.source, effects });
|
||||
return self;
|
||||
}
|
||||
|
||||
if self.construct(cast.target).is_ko() {
|
||||
self.add_resolution(&cast, &Event::TargetKo { construct: cast.target });
|
||||
return self;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user