comment
This commit is contained in:
parent
b7768e58bd
commit
a052e515ed
@ -536,6 +536,7 @@ impl Game {
|
||||
return self;
|
||||
}
|
||||
|
||||
// maybe this should be done with a status immunity
|
||||
if self.construct(cast.target).affected(Effect::Reflect) && cast.skill.colours().contains(&Colour::Blue) && !cast.skill.is_tick() {
|
||||
self.add_resolution(&cast, &Event::Reflection { construct: cast.target });
|
||||
|
||||
@ -1928,8 +1929,6 @@ mod tests {
|
||||
game.new_resolve(Cast::new(target, target_player_id, target, Skill::Counter));
|
||||
game.new_resolve(Cast::new(source, player_id, target, Skill::Attack));
|
||||
|
||||
println!("{:#?}", game.resolutions);
|
||||
|
||||
assert!(game.players[0].constructs[0].is_ko() == false);
|
||||
assert!(game.players[1].constructs[0].is_ko() == false);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user