mirror of
https://github.com/correl/mage.git
synced 2024-12-27 03:00:13 +00:00
- fixed failing test from previous commit. The "game" parameter can't be used for Caller of the Hunt.
This commit is contained in:
parent
2e625cc5a5
commit
5c76228e74
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ enum CallerOfTheHuntAdjuster implements CostAdjuster {
|
||||||
effectPowerToughness.setText("");
|
effectPowerToughness.setText("");
|
||||||
SimpleStaticAbility setPT = new SimpleStaticAbility(Zone.ALL, effectPowerToughness);
|
SimpleStaticAbility setPT = new SimpleStaticAbility(Zone.ALL, effectPowerToughness);
|
||||||
GainAbilityTargetEffect gainAbility = new GainAbilityTargetEffect(setPT, Duration.EndOfGame);
|
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);
|
game.getState().addEffect(gainAbility, ability);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue