forked from External/mage
Cleanup: replace custom code with common classes, text fixes to abilities (#10304)
* Use common FirstCombatPhaseCondition on Raiyuu, Storm's Edge * Use common ReturnFromExileForSourceEffect on Parallax Wave * Use common exile effects on Prowling Geistcatcher (attempt to fix #9981) * Fix text: Fading ability * Fix text: Endangered Armodon * Fix text: Nemata, Primeval Warden * Fix text: Capitalization on alternative/additional costs other than mana
This commit is contained in:
parent
550d719498
commit
4c13b42dee
9 changed files with 41 additions and 111 deletions
|
|
@ -2,6 +2,7 @@ package mage.abilities.costs;
|
|||
|
||||
import mage.abilities.costs.mana.ManaCost;
|
||||
import mage.game.Game;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
/**
|
||||
* Alternative costs
|
||||
|
|
@ -62,7 +63,7 @@ public class AlternativeCostImpl<T extends AlternativeCostImpl<T>> extends Costs
|
|||
@Override
|
||||
public String getReminderText() {
|
||||
if (reminderText != null && !reminderText.isEmpty()) {
|
||||
return "<i>(" + reminderText.replace("{cost}", this.getText(true)) + ")</i>";
|
||||
return "<i>(" + reminderText.replace("{cost}", CardUtil.getTextWithFirstCharLowerCase(this.getText(true))) + ")</i>";
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue