mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +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 int numToDig = AbilityUtils.calculateAmount(host, sa.getParam("DigNum"), sa);
|
||||||
final List<Player> tgtPlayers = getTargetPlayers(sa);
|
final List<Player> tgtPlayers = getTargetPlayers(sa);
|
||||||
|
|
||||||
sb.append(host.getController()).append(" looks at the top ");
|
sb.append(host.getController()).append(sa.hasParam("Reveal") && sa.getParam("Reveal").equals("True")
|
||||||
sb.append(Lang.nounWithAmount(numToDig, "card")).append(" of ");
|
? " reveals " : " looks at ").append("the top ");
|
||||||
|
sb.append(numToDig == 1 ? "card" : (Lang.getNumeral(numToDig) + " cards")).append(" of ");
|
||||||
|
|
||||||
if (tgtPlayers.contains(host.getController())) {
|
if (tgtPlayers.contains(host.getController())) {
|
||||||
sb.append("their ");
|
sb.append("their ");
|
||||||
|
|||||||
Reference in New Issue
Block a user