From bd0e2880878918ad525f61b5579e2bc3f4b8e7a4 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sun, 23 Oct 2016 22:36:45 +0200 Subject: [PATCH] * Fixed effect text for numbers > 1 (e.g. Daretti, Ingenious Iconlast). --- .../common/PutTokenOntoBattlefieldCopyTargetEffect.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Mage/src/main/java/mage/abilities/effects/common/PutTokenOntoBattlefieldCopyTargetEffect.java b/Mage/src/main/java/mage/abilities/effects/common/PutTokenOntoBattlefieldCopyTargetEffect.java index 1b369ae800..8b38820d92 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/PutTokenOntoBattlefieldCopyTargetEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/PutTokenOntoBattlefieldCopyTargetEffect.java @@ -232,7 +232,13 @@ public class PutTokenOntoBattlefieldCopyTargetEffect extends OneShotEffect { return staticText; } StringBuilder sb = new StringBuilder(); - sb.append("Put a token onto the battlefield "); + sb.append("Put "); + if (number == 1) { + sb.append("a token"); + } else { + sb.append(CardUtil.numberToText(number)).append(" tokens"); + } + sb.append(" onto the battlefield "); if (tapped && !attacking) { sb.append("tapped "); } else if (!tapped && attacking) {