Added failing ignore test for
@@ -231,9 +231,13 @@ public class KickerAbility extends StaticAbility implements OptionalAdditionalSo
@Override
public void addOptionalAdditionalCosts(Ability ability, Game game) {
- if (ability instanceof SpellAbility) {
+ if (!(ability instanceof SpellAbility)) {
+ return;
+ }
Player player = game.getPlayer(ability.getControllerId());
- if (player != null) {
+ if (player == null) {
+ return;
+ }
this.resetKicker();
for (OptionalAdditionalCost kickerCost : kickerCosts) {
boolean again = true;
@@ -273,8 +277,6 @@ public class KickerAbility extends StaticAbility implements OptionalAdditionalSo
}
}
}
- }
- }
private void addKickerCostsToAbility(Cost cost, Ability ability, Game game) {
// can contain multiple costs from multikicker ability
