mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
* Fixed a problem of the AI that it could cast cards with flashback without paying the costs.
This commit is contained in:
parent
af296cbe79
commit
170ad083c7
2 changed files with 3 additions and 3 deletions
|
|
@ -126,8 +126,8 @@ public class FlashbackAbility extends SpellAbility {
|
|||
spellAbilityCopy.setId(this.getId());
|
||||
spellAbilityCopy.getManaCosts().clear();
|
||||
spellAbilityCopy.getManaCostsToPay().clear();
|
||||
spellAbilityCopy.getCosts().addAll(this.getCosts());
|
||||
spellAbilityCopy.addCost(this.getManaCosts());
|
||||
spellAbilityCopy.getCosts().addAll(this.getCosts().copy());
|
||||
spellAbilityCopy.addCost(this.getManaCosts().copy());
|
||||
spellAbilityCopy.setSpellAbilityCastMode(this.getSpellAbilityCastMode());
|
||||
spellAbilityToResolve = spellAbilityCopy;
|
||||
ContinuousEffect effect = new FlashbackReplacementEffect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue