mirror of
https://github.com/correl/mage.git
synced 2025-03-17 01:06:26 -09:00
* Dymanic mana abilities - fixed missing mana text (affected cards Priest of Titania);
This commit is contained in:
parent
dc43707a4d
commit
b75a5d86b1
1 changed files with 3 additions and 6 deletions
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
package mage.abilities.effects.mana;
|
package mage.abilities.effects.mana;
|
||||||
|
|
||||||
import mage.Mana;
|
import mage.Mana;
|
||||||
|
@ -15,7 +14,6 @@ import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @author North
|
* @author North
|
||||||
*/
|
*/
|
||||||
public class DynamicManaEffect extends ManaEffect {
|
public class DynamicManaEffect extends ManaEffect {
|
||||||
|
@ -39,7 +37,6 @@ public class DynamicManaEffect extends ManaEffect {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @param mana
|
* @param mana
|
||||||
* @param amount
|
* @param amount
|
||||||
* @param text
|
* @param text
|
||||||
|
@ -80,7 +77,7 @@ public class DynamicManaEffect extends ManaEffect {
|
||||||
if (text != null && !text.isEmpty()) {
|
if (text != null && !text.isEmpty()) {
|
||||||
return text;
|
return text;
|
||||||
}
|
}
|
||||||
return super.getText(mode) + " for each " + amount.getMessage();
|
return "add " + baseMana.toString() + " for each " + amount.getMessage();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue