Bugfixes for Kratos, God of War (#14001)

This commit is contained in:
Riley 2025-10-14 15:53:31 -07:00 committed by GitHub
parent e8c8b72a07
commit 4a41b0415a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,10 +39,13 @@ public final class KratosGodOfWar extends CardImpl {
this.addAbility(DoubleStrikeAbility.getInstance());
// All creatures have haste.
this.addAbility(new SimpleStaticAbility(new GainAbilityAllEffect(
HasteAbility.getInstance(), Duration.WhileControlled,
StaticFilters.FILTER_PERMANENT_CREATURE
).setText("all creatures have haste")));
this.addAbility(
new SimpleStaticAbility(
new GainAbilityAllEffect(
HasteAbility.getInstance(), Duration.WhileOnBattlefield,
StaticFilters.FILTER_PERMANENT_CREATURES
).setText("all creatures have haste")
));
// At the beginning of each player's end step, Kratos deals damage to that player equal to the number of creatures that player controls that didn't attack this turn.
this.addAbility(new BeginningOfEndStepTriggeredAbility(
@ -89,7 +92,7 @@ class KratosGodOfWarEffect extends OneShotEffect {
if (player == null) {
return false;
}
int count = game.getBattlefield().count(filter, source.getControllerId(), source, game);
int count = game.getBattlefield().count(filter, game.getActivePlayerId(), source, game);
return count > 0 && player.damage(count, source, game) > 0;
}
}