mirror of
https://github.com/correl/mage.git
synced 2025-03-16 09:16:26 -09:00
Abu Ja'far is not optional, and prevents regeneration
This commit is contained in:
parent
62cec1c520
commit
6c0c499557
1 changed files with 2 additions and 2 deletions
|
@ -52,12 +52,12 @@ public class AbuJafar extends CardImpl {
|
||||||
this.power = new MageInt(0);
|
this.power = new MageInt(0);
|
||||||
this.toughness = new MageInt(1);
|
this.toughness = new MageInt(1);
|
||||||
|
|
||||||
FilterCreaturePermanent filter = new FilterCreaturePermanent();
|
FilterCreaturePermanent filter = new FilterCreaturePermanent("creatures blocking or blocked by it");
|
||||||
filter.add(Predicates.or(new BlockedByIdPredicate(this.getId()),
|
filter.add(Predicates.or(new BlockedByIdPredicate(this.getId()),
|
||||||
new BlockingAttackerIdPredicate(this.getId())));
|
new BlockingAttackerIdPredicate(this.getId())));
|
||||||
|
|
||||||
// When Abu Ja'far dies, destroy all creatures blocking or blocked by it. They can't be regenerated.
|
// When Abu Ja'far dies, destroy all creatures blocking or blocked by it. They can't be regenerated.
|
||||||
this.addAbility(new DiesTriggeredAbility(new DestroyAllEffect(filter), true));
|
this.addAbility(new DiesTriggeredAbility(new DestroyAllEffect(filter, true), false));
|
||||||
}
|
}
|
||||||
|
|
||||||
public AbuJafar(final AbuJafar card) {
|
public AbuJafar(final AbuJafar card) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue