mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Constricting Sliver - Fixed that its effect was applied to all creatures instead of only controlled creatures.
This commit is contained in:
parent
3bdd881e3a
commit
c0df1d6e8a
1 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.cards.c;
|
||||
|
||||
import java.util.UUID;
|
||||
|
@ -10,7 +9,7 @@ import mage.abilities.common.delayed.OnLeaveReturnExiledToBattlefieldAbility;
|
|||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect;
|
||||
import mage.abilities.effects.common.ExileTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityAllEffect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.*;
|
||||
|
@ -47,9 +46,10 @@ public final class ConstrictingSliver extends CardImpl {
|
|||
ability.addTarget(new TargetCreaturePermanent(filterTarget));
|
||||
ability.addEffect(new CreateDelayedTriggeredAbilityEffect(new OnLeaveReturnExiledToBattlefieldAbility()));
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
|
||||
new GainAbilityAllEffect(ability,
|
||||
Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURE_SLIVERS,
|
||||
"Sliver creatures you control have \"When this creature enters the battlefield, you may exile target creature an opponent controls until this creature leaves the battlefield.\"")));
|
||||
new GainAbilityControlledEffect(ability,
|
||||
Duration.WhileOnBattlefield, StaticFilters.FILTER_PERMANENT_CREATURE_SLIVERS)
|
||||
.setText("Sliver creatures you control have \"When this creature enters the battlefield, "
|
||||
+ "you may exile target creature an opponent controls until this creature leaves the battlefield.\"")));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue