forked from External/mage
Minor fixes (#12632)
* Fix Nefarious Imp, Bewitching Leechcraft * Include zone of cast in game log
This commit is contained in:
parent
65b513576b
commit
ab803079b9
4 changed files with 12 additions and 10 deletions
|
|
@ -190,14 +190,16 @@ public class Spell extends StackObjectImpl implements Card {
|
|||
return true;
|
||||
}
|
||||
|
||||
public String getActivatedMessage(Game game) {
|
||||
public String getActivatedMessage(Game game, Zone fromZone) {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(" casts ");
|
||||
if (isCopy()) {
|
||||
sb.append(" copies ");
|
||||
} else {
|
||||
sb.append(" casts ");
|
||||
sb.append("a copied ");
|
||||
}
|
||||
return sb.append(ability.getGameLogMessage(game)).toString();
|
||||
sb.append(ability.getGameLogMessage(game));
|
||||
sb.append(" from ");
|
||||
sb.append(fromZone.toString().toLowerCase(Locale.ENGLISH));
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public String getSpellCastText(Game game) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue