- fixed failing test from previous commit. The "game" parameter can't be used for Caller of the Hunt.

This commit is contained in:
Jeff Wadsworth 2021-10-19 16:31:22 -05:00
parent 2e625cc5a5
commit 5c76228e74

View file

@ -119,7 +119,7 @@ enum CallerOfTheHuntAdjuster implements CostAdjuster {
effectPowerToughness.setText("");
SimpleStaticAbility setPT = new SimpleStaticAbility(Zone.ALL, effectPowerToughness);
GainAbilityTargetEffect gainAbility = new GainAbilityTargetEffect(setPT, Duration.EndOfGame);
gainAbility.setTargetPointer(new FixedTarget(ability.getSourceId(), game));
gainAbility.setTargetPointer(new FixedTarget(ability.getSourceId()));
game.getState().addEffect(gainAbility, ability);
}
}