mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
* Fixed a bug that prevented some mana abilities to produce mana (Miraris Wake, Keeper Of Progenitus, Heartbeat of Spring, Dictate of Karametra, Vorinclex Voice of Hunger, Zhur-Taa Ancient).
This commit is contained in:
parent
d2224f35f9
commit
e3f4645258
1 changed files with 6 additions and 6 deletions
|
|
@ -100,22 +100,22 @@ public class AddManaOfAnyColorTargetCanProduceEffect extends ManaEffect {
|
|||
switch (choice.getChoice()) {
|
||||
case "Black":
|
||||
newMana.setBlack(1);
|
||||
return true;
|
||||
break;
|
||||
case "Blue":
|
||||
newMana.setBlue(1);
|
||||
return true;
|
||||
break;
|
||||
case "Red":
|
||||
newMana.setRed(1);
|
||||
return true;
|
||||
break;
|
||||
case "Green":
|
||||
newMana.setGreen(1);
|
||||
return true;
|
||||
break;
|
||||
case "White":
|
||||
newMana.setWhite(1);
|
||||
return true;
|
||||
break;
|
||||
case "Colorless":
|
||||
newMana.setColorless(1);
|
||||
return true;
|
||||
break;
|
||||
}
|
||||
controller.getManaPool().addMana(newMana, game, source);
|
||||
checkToFirePossibleEvents(newMana, game, source);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue