forked from External/mage
* Mirari - Fixed that it can select any spell instead triggered use.
This commit is contained in:
parent
9d7c59fed9
commit
e5bdb85076
3 changed files with 32 additions and 14 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.abilities.effects.common;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
|
|
@ -13,7 +12,6 @@ import mage.players.Player;
|
|||
|
||||
/**
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*
|
||||
*/
|
||||
public class CopyTargetSpellEffect extends OneShotEffect {
|
||||
|
||||
|
|
@ -79,7 +77,14 @@ public class CopyTargetSpellEffect extends OneShotEffect {
|
|||
return staticText;
|
||||
}
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("copy target ").append(mode.getTargets().get(0).getTargetName()).append(". You may choose new targets for the copy");
|
||||
sb.append("copy ");
|
||||
if (!mode.getTargets().isEmpty()) {
|
||||
sb.append("target ").append(mode.getTargets().get(0).getTargetName());
|
||||
} else {
|
||||
sb.append("that spell");
|
||||
}
|
||||
sb.append(". You may choose new targets for the copy");
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue