and when the elk saw the breadth of his domain, he wept, for there was no more ConditionalInterveningIfTriggeredAbility to refactor

This commit is contained in:
theelk801 2025-06-12 19:58:54 -04:00
parent 59f7126f64
commit dbd07b9031
61 changed files with 466 additions and 632 deletions

View file

@ -21,7 +21,6 @@ public enum CollectedEvidenceCondition implements Condition {
@Override
public String toString() {
// must use "used" instead "collected" because it can be visible as card hint on stack before real collect
return "Evidence was used";
return "evidence was collected";
}
}

View file

@ -16,4 +16,9 @@ public enum LandfallCondition implements Condition {
LandfallWatcher watcher = game.getState().getWatcher(LandfallWatcher.class);
return watcher != null && watcher.landPlayed(source.getControllerId());
}
@Override
public String toString() {
return "you had a land enter the battlefield under your control this turn";
}
}

View file

@ -14,7 +14,7 @@ public class EvidenceHint extends ConditionHint {
private final int needAmount;
public EvidenceHint(int needAmount) {
super(CollectedEvidenceCondition.instance);
super(CollectedEvidenceCondition.instance, "Evidence was used");
this.needAmount = needAmount;
}