add custom name for generic reveal

This commit is contained in:
Anthony Calosa
2016-08-29 20:58:55 +08:00
parent 9671711bf5
commit f957fca162
3 changed files with 5 additions and 0 deletions

View File

@@ -3486,6 +3486,7 @@ MTGAbility * AbilityFactory::parseMagicLine(string s, int id, Spell * spell, MTG
GenericRevealAbility * a = NEW GenericRevealAbility(observer, id, card, target, backup);
a->oneShot = 1;
a->canBeInterrupted = false;
a->named = newName;
return a;
}