[AFC] fixed Bag of Devouring - NPE on rules/database generation;

This commit is contained in:
Oleg Agafonov 2021-08-21 17:50:36 +04:00
parent e25d287864
commit a76a006065

View file

@ -59,7 +59,7 @@ public final class BagOfDevouring extends CardImpl {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{B}");
// Whenever you sacrifice another nontoken artifact or creature, exile it.
this.addAbility(new SacrificePermanentTriggeredAbility(new ExileTargetForSourceEffect(), filter, true));
this.addAbility(new SacrificePermanentTriggeredAbility(new ExileTargetForSourceEffect().setText("exile it"), filter, true));
// {2}, {T}, Sacrifice another artifact or creature: Draw a card.
Ability ability = new SimpleActivatedAbility(new DrawCardSourceControllerEffect(1), new GenericManaCost(2));