mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
variable naming for clarity - Spellbinder
This commit is contained in:
parent
a98e05e338
commit
8368a8379c
1 changed files with 3 additions and 3 deletions
|
@ -186,9 +186,9 @@ class SpellbinderCopyEffect extends OneShotEffect {
|
|||
public boolean apply(Game game, Ability source) {
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (controller != null) {
|
||||
Permanent scepter = game.getPermanentOrLKIBattlefield(source.getSourceId());
|
||||
if (scepter != null && scepter.getImprinted() != null && !scepter.getImprinted().isEmpty()) {
|
||||
Card imprintedInstant = game.getCard(scepter.getImprinted().get(0));
|
||||
Permanent spellbinder = game.getPermanentOrLKIBattlefield(source.getSourceId());
|
||||
if (spellbinder != null && spellbinder.getImprinted() != null && !spellbinder.getImprinted().isEmpty()) {
|
||||
Card imprintedInstant = game.getCard(spellbinder.getImprinted().get(0));
|
||||
if (imprintedInstant != null && game.getState().getZone(imprintedInstant.getId()).equals(Zone.EXILED)) {
|
||||
if (controller.chooseUse(outcome, new StringBuilder("Create a copy of ").append(imprintedInstant.getName()).append("?").toString(), source, game)) {
|
||||
Card copiedCard = game.copyCard(imprintedInstant, source, source.getControllerId());
|
||||
|
|
Loading…
Reference in a new issue