add ko event back but doing it right

This commit is contained in:
Mashy
2019-11-08 13:01:28 +10:00
parent e540128a94
commit 7b054340d4
5 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -353,8 +353,8 @@ fn post_resolve(_skill: Skill, game: &mut Game, mut resolutions: Resolutions) ->
};
if target.is_ko() {
// resolutions.push(Resolution::new(&source, &target).event(Event::Ko()).stages(EventStages::PostOnly));
target.effects.clear();
resolutions.push(Resolution::new(&source, &target).event(Event::Ko()).stages(EventStages::PostOnly));
}
game.update_construct(&mut source);