mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
spjspj - Implement Portcullis (STH)
This commit is contained in:
parent
4aadc359c4
commit
6912949825
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ public class Portcullis extends CardImpl {
|
|||
|
||||
// Whenever a creature enters the battlefield, if there are two or more other creatures on the battlefield, exile that creature.
|
||||
String rule = "Whenever a creature enters the battlefield, if there are two or more other creatures on the battlefield, exile that creature";
|
||||
TriggeredAbility ability = new EntersBattlefieldAllTriggeredAbility(Zone.BATTLEFIELD, new PortcullisExileEffect(), filter, false, SetTargetPointer.PERMANENT, rule, true);
|
||||
TriggeredAbility ability = new EntersBattlefieldAllTriggeredAbility(Zone.BATTLEFIELD, new PortcullisExileEffect(), filter, false, SetTargetPointer.PERMANENT, rule);
|
||||
|
||||
MoreThanXCreaturesOnBFCondition condition = new MoreThanXCreaturesOnBFCondition(2);
|
||||
this.addAbility(new ConditionalTriggeredAbility(ability, condition, rule));
|
||||
|
|
Loading…
Reference in a new issue