mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
This commit is contained in:
parent
adbeb5a328
commit
98235ba57f
3 changed files with 3 additions and 3 deletions
|
@ -68,7 +68,7 @@ class CavernOfSoulsManaBuilder extends ConditionalManaBuilder {
|
||||||
}
|
}
|
||||||
Player controller = game.getPlayer(source.getControllerId());
|
Player controller = game.getPlayer(source.getControllerId());
|
||||||
MageObject sourceObject = game.getObject(source.getSourceId());
|
MageObject sourceObject = game.getObject(source.getSourceId());
|
||||||
if (game.inCheckPlayableState() && controller != null && sourceObject != null) {
|
if (controller != null && sourceObject != null && mana.getAny() == 0) {
|
||||||
game.informPlayers(controller.getLogName() + " produces " + mana.toString() + " with " + sourceObject.getLogName()
|
game.informPlayers(controller.getLogName() + " produces " + mana.toString() + " with " + sourceObject.getLogName()
|
||||||
+ " (can only be spend to cast for creatures of type " + creatureType + " and that spell can't be countered)");
|
+ " (can only be spend to cast for creatures of type " + creatureType + " and that spell can't be countered)");
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,7 +56,7 @@ class PillarOfOriginsManaBuilder extends ConditionalManaBuilder {
|
||||||
creatureType = ChooseCreatureTypeEffect.getChosenCreatureType(source.getSourceId(), game);
|
creatureType = ChooseCreatureTypeEffect.getChosenCreatureType(source.getSourceId(), game);
|
||||||
Player controller = game.getPlayer(source.getControllerId());
|
Player controller = game.getPlayer(source.getControllerId());
|
||||||
MageObject sourceObject = game.getObject(source.getSourceId());
|
MageObject sourceObject = game.getObject(source.getSourceId());
|
||||||
if (controller != null && sourceObject != null) {
|
if (controller != null && sourceObject != null && mana.getAny() == 0) {
|
||||||
game.informPlayers(controller.getLogName() + " produces " + mana.toString() + " with " + sourceObject.getLogName()
|
game.informPlayers(controller.getLogName() + " produces " + mana.toString() + " with " + sourceObject.getLogName()
|
||||||
+ " (can only be spent to cast creatures of type " + creatureType + ")");
|
+ " (can only be spent to cast creatures of type " + creatureType + ")");
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,7 @@ class UnclaimedTerritoryManaBuilder extends ConditionalManaBuilder {
|
||||||
}
|
}
|
||||||
Player controller = game.getPlayer(source.getControllerId());
|
Player controller = game.getPlayer(source.getControllerId());
|
||||||
MageObject sourceObject = game.getObject(source.getSourceId());
|
MageObject sourceObject = game.getObject(source.getSourceId());
|
||||||
if (controller != null && sourceObject != null) {
|
if (controller != null && sourceObject != null && mana.getAny() == 0) {
|
||||||
game.informPlayers(controller.getLogName() + " produces " + mana.toString() + " with " + sourceObject.getLogName()
|
game.informPlayers(controller.getLogName() + " produces " + mana.toString() + " with " + sourceObject.getLogName()
|
||||||
+ " (can only be spent to cast creatures of type " + creatureType + ")");
|
+ " (can only be spent to cast creatures of type " + creatureType + ")");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue