Fix text [RAV] [GPT] [DIS] (#10359)

* Fix text: capitalization of regenerate

* Fix text: Circle of Protection Artifacts

* Fix text [RAV] [GPT] [DIS]
This commit is contained in:
xenohedron 2023-06-02 12:36:22 +03:00 committed by GitHub
parent 5c8b5f23bb
commit 7531263fb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 75 additions and 71 deletions

View file

@ -12,6 +12,7 @@ import mage.filter.FilterObject;
import mage.game.Game;
import mage.game.events.GameEvent;
import mage.target.TargetSource;
import mage.util.CardUtil;
/**
*
@ -68,7 +69,7 @@ public class PreventNextDamageFromChosenSourceToYouEffect extends PreventionEffe
}
private String setText() {
StringBuilder sb = new StringBuilder("The next time a ").append(targetSource.getFilter().getMessage());
StringBuilder sb = new StringBuilder("The next time ").append(CardUtil.addArticle(targetSource.getFilter().getMessage()));
sb.append(" of your choice would deal damage to you");
if (duration == Duration.EndOfTurn) {
sb.append(" this turn");