Fix Troyan

This commit is contained in:
tool4EvEr
2023-09-08 22:28:55 +02:00
parent 266cea43cd
commit 866c09617c

View File

@@ -325,7 +325,7 @@ public class ForgeScript {
} else {
y = sa.getPayCosts().getTotalMana().getCMC();
}
int x = AbilityUtils.calculateAmount(spellAbility.getHostCard(), property.substring(5), spellAbility);
int x = AbilityUtils.calculateAmount(source, property.substring(5), spellAbility);
if (!Expressions.compare(y, property, x)) {
return false;
}