Implement [40K] Dark Apostle; Sloppity Bilepiper

This commit is contained in:
xenohedron 2023-08-13 00:41:05 -04:00
parent 6fafbf0d93
commit 3386ea117d
4 changed files with 101 additions and 1 deletions

View file

@ -30,7 +30,8 @@ public class NextSpellCastHasAbilityEffect extends ContinuousEffectImpl {
super(Duration.EndOfTurn, Layer.AbilityAddingRemovingEffects_6, SubLayer.NA, Outcome.AddAbility);
this.ability = ability;
this.filter = filter;
staticText = "the next spell you cast this turn has " + CardUtil.getTextWithFirstCharLowerCase(CardUtil.stripReminderText(ability.getRule()));
staticText = "the next " + filter.getMessage().replace("card", "spell")
+ " you cast this turn has " + CardUtil.getTextWithFirstCharLowerCase(CardUtil.stripReminderText(ability.getRule()));
}
private NextSpellCastHasAbilityEffect(final NextSpellCastHasAbilityEffect effect) {