mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Mox Lotus (UNH)
This commit is contained in:
parent
134c317b03
commit
0c0e1804f1
5 changed files with 102 additions and 8 deletions
|
|
@ -518,25 +518,46 @@ public class Mana implements Comparable<Mana>, Serializable, Copyable<Mana> {
|
|||
if (generic > 0) {
|
||||
sbMana.append('{').append(Integer.toString(generic)).append('}');
|
||||
}
|
||||
for (int i = 0; i < colorless; i++) {
|
||||
if (colorless >= 20) {
|
||||
sbMana.append(Integer.toString(colorless)).append("{C}");
|
||||
}
|
||||
if (white >= 20) {
|
||||
sbMana.append(Integer.toString(white)).append("{W}");
|
||||
}
|
||||
if (blue >= 20) {
|
||||
sbMana.append(Integer.toString(blue)).append("{U}");
|
||||
}
|
||||
if (black >= 20) {
|
||||
sbMana.append(Integer.toString(black)).append("{B}");
|
||||
}
|
||||
if (red >= 20) {
|
||||
sbMana.append(Integer.toString(red)).append("{R}");
|
||||
}
|
||||
if (green >= 20) {
|
||||
sbMana.append(Integer.toString(green)).append("{G}");
|
||||
}
|
||||
if (any >= 20) {
|
||||
sbMana.append(Integer.toString(any)).append("{Any}");
|
||||
}
|
||||
for (int i = 0; i < colorless && colorless < 20; i++) {
|
||||
sbMana.append("{C}");
|
||||
}
|
||||
for (int i = 0; i < white; i++) {
|
||||
for (int i = 0; i < white && white < 20; i++) {
|
||||
sbMana.append("{W}");
|
||||
}
|
||||
for (int i = 0; i < blue; i++) {
|
||||
for (int i = 0; i < blue && blue < 20; i++) {
|
||||
sbMana.append("{U}");
|
||||
}
|
||||
for (int i = 0; i < black; i++) {
|
||||
for (int i = 0; i < black && black < 20; i++) {
|
||||
sbMana.append("{B}");
|
||||
}
|
||||
for (int i = 0; i < red; i++) {
|
||||
for (int i = 0; i < red && red < 20; i++) {
|
||||
sbMana.append("{R}");
|
||||
}
|
||||
for (int i = 0; i < green; i++) {
|
||||
for (int i = 0; i < green && green < 20; i++) {
|
||||
sbMana.append("{G}");
|
||||
}
|
||||
for (int i = 0; i < any; i++) {
|
||||
for (int i = 0; i < any && any < 20; i++) {
|
||||
sbMana.append("{Any}");
|
||||
}
|
||||
return sbMana.toString();
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public class SimpleManaAbility extends ActivatedManaAbilityImpl {
|
|||
* @param zone
|
||||
* @param effect
|
||||
* @param cost
|
||||
* @param predictable set to false if definig the mana type or amount needs
|
||||
* @param predictable set to false if defining the mana type or amount needs
|
||||
* to reveal information and can't be predicted
|
||||
*/
|
||||
public SimpleManaAbility(Zone zone, ManaEffect effect, Cost cost, boolean predictable) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue