tooltip fixes

This commit is contained in:
magenoxx 2012-05-20 14:26:04 +04:00
parent 18a05231a8
commit 595310194c
4 changed files with 9 additions and 2 deletions

View file

@ -72,4 +72,9 @@ class SomberwaldSageManaBuilder extends ConditionalManaBuilder {
public ConditionalMana build(Object... options) { public ConditionalMana build(Object... options) {
return new CreatureCastConditionalMana(this.mana); return new CreatureCastConditionalMana(this.mana);
} }
@Override
public String getRule() {
return "Spend this mana only to cast creature spells";
}
} }

View file

@ -48,7 +48,7 @@ public class AddConditionalManaOfAnyColorEffect extends ManaEffect<AddConditiona
super(); super();
this.amount = amount; this.amount = amount;
this.manaBuilder = manaBuilder; this.manaBuilder = manaBuilder;
staticText = "Add " + amount + " mana of any one color to your mana pool."; staticText = "Add " + amount + " mana of any one color to your mana pool. " + manaBuilder.getRule();
} }
public AddConditionalManaOfAnyColorEffect(final AddConditionalManaOfAnyColorEffect effect) { public AddConditionalManaOfAnyColorEffect(final AddConditionalManaOfAnyColorEffect effect) {

View file

@ -38,7 +38,7 @@ import mage.choices.ChoiceColor;
* For cards like: * For cards like:
* {tap}: Add three mana of any one color to your mana pool. Spend this mana only to cast creature spells. * {tap}: Add three mana of any one color to your mana pool. Spend this mana only to cast creature spells.
* *
* @author * @author noxx
*/ */
public class ConditionalAnyColorManaAbility extends ManaAbility<ConditionalAnyColorManaAbility> { public class ConditionalAnyColorManaAbility extends ManaAbility<ConditionalAnyColorManaAbility> {

View file

@ -41,4 +41,6 @@ public abstract class ConditionalManaBuilder implements Builder<ConditionalMana>
this.mana = mana; this.mana = mana;
return this; return this;
} }
public abstract String getRule();
} }