Fix text [CHK] [BOK] [SOK] (#10355)

* Fix text: duplicate ("you control") in Champion ability

* New static filter "artifacts and enchantments"

* Text fixes [CHK] [BOK] [SOK]

* Fix Genju text without breaking the effect this time
This commit is contained in:
xenohedron 2023-06-02 12:33:48 +03:00 committed by GitHub
parent a7c3cb9797
commit 5c8b5f23bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 91 additions and 113 deletions

View file

@ -8,6 +8,7 @@ import mage.game.Game;
import mage.game.events.DamageEvent;
import mage.game.events.GameEvent;
import mage.game.permanent.Permanent;
import mage.util.CardUtil;
/**
*
@ -61,14 +62,14 @@ public class PreventDamageToAttachedEffect extends PreventionEffectImpl {
sb.append("combat ");
}
sb.append("damage that would be dealt to ");
sb.append(attachmentType.verb()).append(" creature");
sb.append(CardUtil.getTextWithFirstCharLowerCase(attachmentType.verb())).append(" creature");
} else {
sb.append("If a source would deal ");
if (onlyCombat) {
sb.append("combat ");
}
sb.append("damage to ");
sb.append(attachmentType.verb());
sb.append(CardUtil.getTextWithFirstCharLowerCase(attachmentType.verb()));
sb.append(" creature, prevent ").append(amountToPrevent);
sb.append(" of that damage");
}