Fix Clamavus. Fix Conduit of Worlds (#10414)

* Fix Clamavus

* Fix Conduit of Worlds
This commit is contained in:
xenohedron 2023-05-29 19:13:30 -04:00 committed by GitHub
parent 50105c0372
commit 2bfa4464e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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) {