Reworked emblems

This commit is contained in:
magenoxx 2012-06-12 16:27:28 +04:00
parent 2a5ceefe94
commit c22f0cf503
8 changed files with 56 additions and 16 deletions

View file

@ -60,13 +60,7 @@ public class GetEmblemEffect extends OneShotEffect<GetEmblemEffect> {
@Override
public boolean apply(Game game, Ability source) {
Emblem newEmblem = this.emblem.copy();
newEmblem.setSourceId(source.getSourceId());
newEmblem.setControllerId(source.getControllerId());
game.getState().getCommand().add(newEmblem);
for (Ability ability: newEmblem.getAbilities()) {
ability.resolve(game);
}
game.addEmblem(emblem, source);
return true;
}