fix multiple ko event from cast
This commit is contained in:
parent
bb765b86e6
commit
729e48cee4
@ -359,6 +359,11 @@ fn post_resolve(_skill: Skill, game: &mut Game, mut resolutions: Resolutions) ->
|
|||||||
|
|
||||||
game.update_construct(&mut source);
|
game.update_construct(&mut source);
|
||||||
game.update_construct(&mut target);
|
game.update_construct(&mut target);
|
||||||
|
|
||||||
|
if target.is_ko() {
|
||||||
|
// Don't loop for multiple resolutions which led to KO
|
||||||
|
break;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
return resolutions;
|
return resolutions;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user