[ZNR] fixed issues with Thieving Skydiver cost limitations and text (#7046)

This commit is contained in:
Evan Kranzler 2020-09-21 17:01:55 -04:00
parent bd5c3293d8
commit 45a2532a89
4 changed files with 28 additions and 13 deletions

View file

@ -1,5 +1,7 @@
package mage.abilities.costs;
import mage.abilities.costs.mana.VariableManaCost;
/**
* @author LevelX2
*/
@ -71,6 +73,20 @@ public class OptionalAdditionalCostImpl extends CostsImpl<Cost> implements Optio
return replace;
}
@Override
public void setReminderText(String reminderText) {
this.reminderText = reminderText;
}
@Override
public void setMinimumCost(int minimumCost) {
for (VariableCost cost : this.getVariableCosts()) {
if (cost instanceof VariableManaCost) {
((VariableManaCost) cost).setMinX(minimumCost);
}
}
}
/**
* Returns a text suffix for the game log, that can be added to the cast
* message.