Merge branch 'mimicvat' into 'master'

Mimic Vat: Update trigger so it doesn't resolve when card moved

See merge request core-developers/forge!4741
This commit is contained in:
Michael Kamensky
2021-05-26 04:34:55 +00:00
5 changed files with 8 additions and 13 deletions

View File

@@ -348,7 +348,6 @@ public abstract class CardTraitBase extends GameObject implements IHasCardView,
}
list = CardLists.getValidCards(list, sIsPresent.split(","), this.getHostCard().getController(), this.getHostCard(), this);
final String rightString = presentCompare.substring(2);
int right = AbilityUtils.calculateAmount(getHostCard(), rightString, this);
final int left = list.size();

View File

@@ -340,7 +340,7 @@ public abstract class Trigger extends TriggerReplacementBase {
}
}
if ( !meetsCommonRequirements(this.mapParams))
if (!meetsCommonRequirements(this.mapParams))
return false;
return true;