* Game log - Changed that {this} will be replaced by object name.

This commit is contained in:
LevelX2 2013-10-13 11:02:02 +02:00
parent c0ade21efe
commit 204689c19d

View file

@ -96,7 +96,7 @@ public abstract class TriggeredAbilityImpl<T extends TriggeredAbilityImpl<T>> ex
if (checkInterveningIfClause(game)) { if (checkInterveningIfClause(game)) {
// log resolve of triggered ability // log resolve of triggered ability
if (object != null && object.getName() != null) { if (object != null && object.getName() != null) {
game.informPlayers(new StringBuilder(object.getName()).append(" triggered ability resolves: ").append(this.getRule()).toString()); game.informPlayers(new StringBuilder(object.getName()).append(" triggered ability resolves: ").append(this.getRule(object.getName())).toString());
} else { } else {
game.informPlayers(new StringBuilder("Ability triggered: ").append(this.getRule()).toString()); game.informPlayers(new StringBuilder("Ability triggered: ").append(this.getRule()).toString());
} }