mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
DigEffect improve StackDesc
This commit is contained in:
@@ -42,8 +42,9 @@ public class DigEffect extends SpellAbilityEffect {
|
||||
final int numToDig = AbilityUtils.calculateAmount(host, sa.getParam("DigNum"), sa);
|
||||
final List<Player> tgtPlayers = getTargetPlayers(sa);
|
||||
|
||||
sb.append(host.getController()).append(" looks at the top ");
|
||||
sb.append(Lang.nounWithAmount(numToDig, "card")).append(" of ");
|
||||
sb.append(host.getController()).append(sa.hasParam("Reveal") && sa.getParam("Reveal").equals("True")
|
||||
? " reveals " : " looks at ").append("the top ");
|
||||
sb.append(numToDig == 1 ? "card" : (Lang.getNumeral(numToDig) + " cards")).append(" of ");
|
||||
|
||||
if (tgtPlayers.contains(host.getController())) {
|
||||
sb.append("their ");
|
||||
|
||||
Reference in New Issue
Block a user