mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Fix StaticAbilityMustAttack
This commit is contained in:
@@ -22,7 +22,7 @@ public class StaticAbilityMustAttack {
|
|||||||
if (!stAb.getParam("Mode").equals(MODE) || stAb.isSuppressed() || !stAb.checkConditions()) {
|
if (!stAb.getParam("Mode").equals(MODE) || stAb.isSuppressed() || !stAb.checkConditions()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (stAb.matchesValidParam(stAb.getParam("ValidCreature"), attacker)) {
|
if (stAb.matchesValidParam("ValidCreature", attacker)) {
|
||||||
if (stAb.hasParam("MustAttack")) {
|
if (stAb.hasParam("MustAttack")) {
|
||||||
List<GameEntity> def = AbilityUtils.getDefinedEntities(stAb.getHostCard(),
|
List<GameEntity> def = AbilityUtils.getDefinedEntities(stAb.getHostCard(),
|
||||||
stAb.getParam("MustAttack"), stAb);
|
stAb.getParam("MustAttack"), stAb);
|
||||||
|
|||||||
Reference in New Issue
Block a user