Fix StaticAbilityMustAttack

This commit is contained in:
tool4EvEr
2022-04-26 08:41:15 +02:00
parent 6c5aa30e06
commit e54ef18f00

View File

@@ -22,7 +22,7 @@ public class StaticAbilityMustAttack {
if (!stAb.getParam("Mode").equals(MODE) || stAb.isSuppressed() || !stAb.checkConditions()) {
continue;
}
if (stAb.matchesValidParam(stAb.getParam("ValidCreature"), attacker)) {
if (stAb.matchesValidParam("ValidCreature", attacker)) {
if (stAb.hasParam("MustAttack")) {
List<GameEntity> def = AbilityUtils.getDefinedEntities(stAb.getHostCard(),
stAb.getParam("MustAttack"), stAb);