more unrelated text fixes (#10761)

* some text fixes [LTR] [LTC] [CMM]

* another batch of text fixes

* followup fixes

* unrelated cleanup

* fix corresponding ability text in test
This commit is contained in:
xenohedron 2023-08-05 20:53:43 -04:00 committed by GitHub
parent fa77261e3a
commit 127b7be9b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
67 changed files with 112 additions and 128 deletions

View file

@ -24,8 +24,8 @@ public class DamageWithExcessEffect extends OneShotEffect {
public DamageWithExcessEffect(DynamicValue amount) {
super(Outcome.Damage);
this.amount = amount;
this.staticText = "{this} deals " + amount + " damage to target creature" +
(amount instanceof StaticValue ? "" : ", where X is " + amount.getMessage()) +
this.staticText = "{this} deals " + (amount instanceof StaticValue ? amount : "X") + " damage to target creature" +
(amount instanceof StaticValue ? "" : ", where X is the number of " + amount.getMessage()) +
". Excess damage is dealt to that creature's controller instead";
}