mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
tooltip fixes
This commit is contained in:
parent
18a05231a8
commit
595310194c
4 changed files with 9 additions and 2 deletions
|
@ -72,4 +72,9 @@ class SomberwaldSageManaBuilder extends ConditionalManaBuilder {
|
|||
public ConditionalMana build(Object... options) {
|
||||
return new CreatureCastConditionalMana(this.mana);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Spend this mana only to cast creature spells";
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ public class AddConditionalManaOfAnyColorEffect extends ManaEffect<AddConditiona
|
|||
super();
|
||||
this.amount = amount;
|
||||
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) {
|
||||
|
|
|
@ -38,7 +38,7 @@ import mage.choices.ChoiceColor;
|
|||
* For cards like:
|
||||
* {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> {
|
||||
|
||||
|
|
|
@ -41,4 +41,6 @@ public abstract class ConditionalManaBuilder implements Builder<ConditionalMana>
|
|||
this.mana = mana;
|
||||
return this;
|
||||
}
|
||||
|
||||
public abstract String getRule();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue