mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 12:02:01 -08:00
[RIX] Added 5 cards.
This commit is contained in:
parent
80c0107434
commit
4571ab8dce
8 changed files with 494 additions and 5 deletions
|
|
@ -68,7 +68,10 @@ public class SpellCostReductionSourceEffect extends CostModificationEffectImpl {
|
|||
this.amount = amount;
|
||||
this.condition = condition;
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("{this} costs {").append(amount).append("} less to cast if ").append(this.condition.toString());
|
||||
sb.append("{this} costs {")
|
||||
.append(amount).append("} less to cast ")
|
||||
.append((this.condition.toString().startsWith("if ") ? "" : "if "))
|
||||
.append(this.condition.toString());
|
||||
this.staticText = sb.toString();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue