proper description for non-creature Disturbed stuff

This commit is contained in:
Northmoc
2021-10-29 12:04:22 -04:00
parent 9f4042ca6e
commit aa5e7d5f43

View File

@@ -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);