mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Fix Clamavus. Fix Conduit of Worlds (#10414)
* Fix Clamavus * Fix Conduit of Worlds
This commit is contained in:
parent
50105c0372
commit
2bfa4464e0
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ class ClamavusEffect extends ContinuousEffectImpl {
|
||||||
@Override
|
@Override
|
||||||
public boolean apply(Game game, Ability source) {
|
public boolean apply(Game game, Ability source) {
|
||||||
List<Permanent> permanents = game.getBattlefield().getActivePermanents(
|
List<Permanent> permanents = game.getBattlefield().getActivePermanents(
|
||||||
StaticFilters.FILTER_PERMANENT_CREATURE, source.getControllerId(), game
|
StaticFilters.FILTER_CONTROLLED_CREATURE, source.getControllerId(), game
|
||||||
);
|
);
|
||||||
for (Permanent permanent : permanents) {
|
for (Permanent permanent : permanents) {
|
||||||
int count = permanent.getCounters(game).getCount(CounterType.P1P1);
|
int count = permanent.getCounters(game).getCount(CounterType.P1P1);
|
||||||
|
|
|
@ -45,7 +45,7 @@ public final class ConduitOfWorlds extends CardImpl {
|
||||||
// {T}: Choose target nonland permanent card in your graveyard. If you haven't cast a spell this turn, you may cast that card. If you do, you can't cast additional spells this turn. Activate only as a sorcery.
|
// {T}: Choose target nonland permanent card in your graveyard. If you haven't cast a spell this turn, you may cast that card. If you do, you can't cast additional spells this turn. Activate only as a sorcery.
|
||||||
Ability ability = new ActivateAsSorceryActivatedAbility(new ConduitOfWorldsEffect(), new TapSourceCost());
|
Ability ability = new ActivateAsSorceryActivatedAbility(new ConduitOfWorldsEffect(), new TapSourceCost());
|
||||||
ability.addTarget(new TargetCardInYourGraveyard(filter));
|
ability.addTarget(new TargetCardInYourGraveyard(filter));
|
||||||
this.addAbility(ability);
|
this.addAbility(ability, new SpellsCastWatcher());
|
||||||
}
|
}
|
||||||
|
|
||||||
private ConduitOfWorlds(final ConduitOfWorlds card) {
|
private ConduitOfWorlds(final ConduitOfWorlds card) {
|
||||||
|
|
Loading…
Reference in a new issue