mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
PaidLists now store if the CostPart source is linked to host
This commit is contained in:
@@ -172,7 +172,7 @@ public class PlayAi extends SpellAbilityAi {
|
||||
abCost = new Cost(sa.getParam("PlayCost"), false);
|
||||
}
|
||||
|
||||
spell = (Spell) spell.copyWithDefinedCost(abCost);
|
||||
spell = (Spell) spell.copyWithManaCostReplaced(spell.getActivatingPlayer(), abCost);
|
||||
}
|
||||
if (AiPlayDecision.WillPlay == ((PlayerControllerAi)ai.getController()).getAi().canPlayFromEffectAI(spell, !(isOptional || sa.hasParam("Optional")), true)) {
|
||||
// Before accepting, see if the spell has a valid number of targets (it should at this point).
|
||||
|
||||
Reference in New Issue
Block a user