forked from External/mage
* Added id and colored font to shown related object names of stack abilities.
This commit is contained in:
parent
5694f8aa8c
commit
b029de3ec9
3 changed files with 36 additions and 3 deletions
|
|
@ -41,6 +41,7 @@ import mage.game.Game;
|
|||
import mage.game.stack.StackAbility;
|
||||
import mage.target.targetpointer.FixedTarget;
|
||||
import mage.target.targetpointer.TargetPointer;
|
||||
import mage.util.GameLog;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -118,7 +119,7 @@ public class StackAbilityView extends CardView {
|
|||
if ((mageObject instanceof Card) && ((Card) mageObject).isFaceDown(game)) {
|
||||
continue;
|
||||
}
|
||||
names.add(mageObject.getName());
|
||||
names.add(GameLog.getColoredObjectIdNameForTooltip(mageObject));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue