forked from External/mage
Added some font color to object and player names output to game logging and feedback area.
This commit is contained in:
parent
c3ea08b59c
commit
9c97953b6b
384 changed files with 745 additions and 636 deletions
|
|
@ -63,6 +63,7 @@ import mage.game.events.GameEvent;
|
|||
import mage.game.permanent.Permanent;
|
||||
import mage.players.Player;
|
||||
import mage.target.TargetAmount;
|
||||
import mage.util.GameLog;
|
||||
import mage.watchers.Watcher;
|
||||
|
||||
/**
|
||||
|
|
@ -131,7 +132,7 @@ public class StackAbility implements StackObject, Ability {
|
|||
|
||||
@Override
|
||||
public String getLogName() {
|
||||
return name;
|
||||
return GameLog.getColoredObjectName(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -730,7 +731,7 @@ public class StackAbility implements StackObject, Ability {
|
|||
if (object == null) {
|
||||
Player targetPlayer = game.getPlayer(targetId);
|
||||
if (targetPlayer != null) {
|
||||
targetNames = targetPlayer.getName();
|
||||
targetNames = targetPlayer.getLogName();
|
||||
}
|
||||
} else {
|
||||
targetNames = object.getName();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue