mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Improve ForetoldByEffect StackDescription
This commit is contained in:
@@ -229,14 +229,7 @@ public final class GameActionUtil {
|
|||||||
foretold.putParam("ReduceCost", "2");
|
foretold.putParam("ReduceCost", "2");
|
||||||
foretold.setAlternativeCost(AlternativeCost.Foretold);
|
foretold.setAlternativeCost(AlternativeCost.Foretold);
|
||||||
foretold.getRestrictions().setZone(ZoneType.Exile);
|
foretold.getRestrictions().setZone(ZoneType.Exile);
|
||||||
|
foretold.putParam("AfterDescription", "(Foretold)");
|
||||||
// Stack Description only for Permanent or it might crash
|
|
||||||
if (source.isPermanent()) {
|
|
||||||
final StringBuilder sbStack = new StringBuilder();
|
|
||||||
sbStack.append(sa.getStackDescription()).append(" (Foretold)");
|
|
||||||
foretold.setStackDescription(sbStack.toString());
|
|
||||||
}
|
|
||||||
|
|
||||||
alternatives.add(foretold);
|
alternatives.add(foretold);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user