mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Better fix for stack description of WrappedAbility
This commit is contained in:
@@ -232,7 +232,7 @@ public class WrappedAbility extends Ability {
|
||||
if (regtrig == null) return "";
|
||||
final StringBuilder sb = new StringBuilder(regtrig.replaceAbilityText(regtrig.toString(true), this));
|
||||
List<TargetChoices> allTargets = sa.getAllTargetChoices();
|
||||
if (!allTargets.isEmpty() && !sb.toString().contains("(Targeting:")) {
|
||||
if (!allTargets.isEmpty() && !ApiType.Charm.equals(sa.getApi())) {
|
||||
sb.append(" (Targeting: ");
|
||||
sb.append(allTargets);
|
||||
sb.append(")");
|
||||
|
||||
Reference in New Issue
Block a user