mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Fix Troyan
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user