refactor: add new simpler technique for intervening if conditions on triggered abilities (#13037)

too many usages to fix all at once, plus condition text needs updating, but this will give a cleaner option for new implementations
This commit is contained in:
xenohedron 2024-10-27 00:19:57 -04:00 committed by GitHub
parent fb71ce8c85
commit 8a8773971d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 153 additions and 122 deletions

View file

@ -1,5 +1,3 @@
package mage.abilities.condition.common;
import mage.constants.Zone;
@ -42,4 +40,10 @@ public enum SuspendedCondition implements Condition {
}
return false;
}
@Override
public String toString() {
return "{this} is suspended";
}
}