mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
proper description for non-creature Disturbed stuff
This commit is contained in:
@@ -189,6 +189,11 @@ public final class GameActionUtil {
|
||||
desc.append("(").append(inst.getReminderText()).append(")");
|
||||
newSA.setDescription(desc.toString());
|
||||
newSA.putParam("AfterDescription", "(Disturbed)");
|
||||
final String type = source.getAlternateState().getType().toString();
|
||||
if (!type.contains("Creature")) {
|
||||
final String name = source.getAlternateState().getName();
|
||||
newSA.putParam("StackDescription", name + " — " + type + " (Disturbed)");
|
||||
}
|
||||
|
||||
newSA.setAlternativeCost(AlternativeCost.Disturb);
|
||||
newSA.getRestrictions().setZone(ZoneType.Graveyard);
|
||||
|
||||
Reference in New Issue
Block a user