forked from External/mage
Reworked emblems
This commit is contained in:
parent
2a5ceefe94
commit
c22f0cf503
8 changed files with 56 additions and 16 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue