mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
* Mul Daya Channelers - Fixed a bug that the mana givng ability did not work as mana ability.
This commit is contained in:
parent
b7a22aa283
commit
eeca9a66ca
2 changed files with 70 additions and 14 deletions
|
|
@ -32,6 +32,7 @@ import mage.abilities.Ability;
|
|||
import mage.choices.ChoiceColor;
|
||||
import mage.game.Game;
|
||||
import mage.players.Player;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
/**
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
|
|
@ -47,7 +48,11 @@ public class AddManaOfAnyColorEffect extends ManaEffect<AddManaOfAnyColorEffect>
|
|||
public AddManaOfAnyColorEffect(final int amount) {
|
||||
super();
|
||||
this.amount = amount;
|
||||
this.staticText = "add " + amount + " mana of any color to your mana pool";
|
||||
this.staticText = new StringBuilder("add ")
|
||||
.append(CardUtil.numberToText(amount))
|
||||
.append(" mana of any ")
|
||||
.append(amount > 1 ?"one ":"")
|
||||
.append("color to your mana pool").toString();
|
||||
}
|
||||
|
||||
public AddManaOfAnyColorEffect(final AddManaOfAnyColorEffect effect) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue