mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 03:39:54 -08:00
* Added Morph ability.
This commit is contained in:
parent
b1de70a3bf
commit
d244551e3b
45 changed files with 929 additions and 191 deletions
|
|
@ -821,14 +821,14 @@ public abstract class AbilityImpl implements Ability {
|
|||
if (object instanceof StackAbility) {
|
||||
Card card = game.getCard(((StackAbility) object).getSourceId());
|
||||
if (card != null) {
|
||||
sb.append(card.getName());
|
||||
sb.append(card.getLogName());
|
||||
} else {
|
||||
sb.append(object.getName());
|
||||
}
|
||||
} else {
|
||||
if (object instanceof Spell) {
|
||||
Spell spell = (Spell) object;
|
||||
String castText = spell.getSpellAbility().toString();
|
||||
String castText = spell.getSpellCastText(game);
|
||||
sb.append((castText.startsWith("Cast ") ? castText.substring(5):castText));
|
||||
if (spell.getFromZone() == Zone.GRAVEYARD) {
|
||||
sb.append(" from graveyard");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue