mirror of
https://github.com/correl/mage.git
synced 2025-03-07 20:53:18 -10:00
Some minor changes.
This commit is contained in:
parent
d673f3e4b1
commit
eccc367920
3 changed files with 5 additions and 3 deletions
|
@ -100,7 +100,7 @@ class YixlidJailerEffect extends ContinuousEffectImpl {
|
|||
if (player != null) {
|
||||
for (Card card : player.getGraveyard().getCards(game)) {
|
||||
if (card != null) {
|
||||
card.getAbilities().clear(); // Will the abilities ever come back????
|
||||
card.getAbilities(game).clear(); // Will the abilities ever come back????
|
||||
// TODO: Fix that (LevelX2)
|
||||
// game.getContinuousEffects().removeGainedEffectsForSource(card.getId());
|
||||
// game.getState().resetTriggersForSourceId(card.getId());
|
||||
|
@ -127,4 +127,4 @@ class YixlidJailerEffect extends ContinuousEffectImpl {
|
|||
public boolean hasLayer(Layer layer) {
|
||||
return layer == Layer.AbilityAddingRemovingEffects_6;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -134,7 +134,7 @@ class OpponentGainControlEffect extends ContinuousEffectImpl {
|
|||
}
|
||||
Player targetOpponent = game.getPlayer(opponentId);
|
||||
if (targetOpponent != null && permanent != null) {
|
||||
game.informPlayers(permanent.getName() + " is now controlled by " + targetOpponent.getLogName());
|
||||
game.informPlayers(permanent.getLogName() + " is now controlled by " + targetOpponent.getLogName());
|
||||
} else {
|
||||
discard();
|
||||
}
|
||||
|
|
|
@ -346,6 +346,8 @@ public class ManaOptionsTest extends CardTestPlayerBase {
|
|||
Assert.assertEquals("{B}{B}", getManaOption(0, manaOptions));
|
||||
}
|
||||
|
||||
// TODO
|
||||
// Test Calciform Pools combination mana lands
|
||||
private String getManaOption(int index, ManaOptions manaOptions) {
|
||||
if (manaOptions.size() < index + 1) {
|
||||
return "";
|
||||
|
|
Loading…
Add table
Reference in a new issue