Fixed a bug that for the game log the object name was not set for tokens that already left the battlefield. Added reminder text to LivingWeaponAbility.

This commit is contained in:
LevelX2 2013-04-06 08:55:28 +02:00
parent a070c5a8e1
commit 432bade091
2 changed files with 4 additions and 1 deletions

View file

@ -194,6 +194,9 @@ public abstract class ActivatedAbilityImpl<T extends ActivatedAbilityImpl<T>> ex
protected String getMessageText(Game game) {
StringBuilder sb = new StringBuilder();
MageObject object = game.getObject(this.sourceId);
if (object == null) {
object = game.getLastKnownInformation(this.sourceId, Zone.BATTLEFIELD);
}
if (object != null) {
if (object instanceof StackAbility) {
Card card = game.getCard(((StackAbility) object).getSourceId());

View file

@ -21,7 +21,7 @@ public class LivingWeaponAbility extends EntersBattlefieldTriggeredAbility {
@Override
public String getRule() {
return "Living weapon";
return "Living weapon <i>(When this Equipment enters the battlefield, put a 0/0 black Germ creature token onto the battlefield, then attach this to it.)<i/>";
}
@Override