forked from External/mage
Added logic to log choices of abilities to the game log.
This commit is contained in:
parent
3a0d0e9374
commit
e24ac705f6
1 changed files with 4 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ import mage.abilities.costs.mana.PhyrexianManaCost;
|
|||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.Effects;
|
||||
import mage.cards.Card;
|
||||
import mage.choices.Choice;
|
||||
import mage.constants.TargetController;
|
||||
import mage.game.Game;
|
||||
import mage.game.stack.Spell;
|
||||
|
|
@ -311,6 +312,9 @@ public abstract class ActivatedAbilityImpl<T extends ActivatedAbilityImpl<T>> ex
|
|||
}
|
||||
}
|
||||
}
|
||||
for (Choice choice :this.getChoices()) {
|
||||
sb.append(" - ").append(choice.getMessage()).append(": ").append(choice.getChoice());
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue