[WOE] Implement Break the Spell (#10836)

* [WOE] Implement Break the Spell

* cleanup

* lock static filter
This commit is contained in:
Susucre 2023-08-17 15:29:57 +02:00 committed by GitHub
parent 0a1a098ad4
commit 5e9e199922
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 82 additions and 0 deletions

View file

@ -1011,6 +1011,13 @@ public final class StaticFilters {
FILTER_SPELL_KICKED_A.setLockedFilter(true);
}
public static final FilterPermanent FILTER_PERMANENT_TOKEN = new FilterPermanent("token");
static {
FILTER_PERMANENT_TOKEN.add(TokenPredicate.TRUE);
FILTER_PERMANENT_TOKEN.setLockedFilter(true);
}
public static final FilterCreaturePermanent FILTER_CREATURE_TOKEN = new FilterCreaturePermanent("creature token");
static {