mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
* AI: fixed that computer can broke some non mana pays (Echo, Escalate, Recover, Tap source unless pay, Slow Motion, #8182);
This commit is contained in:
parent
4d0761fa27
commit
421cac0ce3
7 changed files with 112 additions and 6 deletions
|
|
@ -26,7 +26,7 @@ public class TapSourceUnlessPaysEffect extends OneShotEffect {
|
|||
|
||||
public TapSourceUnlessPaysEffect(final TapSourceUnlessPaysEffect effect) {
|
||||
super(effect);
|
||||
this.cost = effect.cost;
|
||||
this.cost = effect.cost.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ public class EchoEffect extends OneShotEffect {
|
|||
|
||||
public EchoEffect(final EchoEffect effect) {
|
||||
super(effect);
|
||||
this.cost = effect.cost;
|
||||
this.cost = effect.cost == null ? null : effect.cost.copy();
|
||||
this.amount = effect.amount;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ class EscalateEffect extends CostModificationEffectImpl {
|
|||
|
||||
EscalateEffect(final EscalateEffect effect) {
|
||||
super(effect);
|
||||
this.cost = effect.cost;
|
||||
this.cost = effect.cost.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ class RecoverEffect extends OneShotEffect {
|
|||
|
||||
public RecoverEffect(final RecoverEffect effect) {
|
||||
super(effect);
|
||||
this.cost = effect.cost;
|
||||
this.cost = effect.cost.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue