Now Planeswalkers use counters for loyalty. Fixed Issue 69.

This commit is contained in:
magenoxx 2011-05-15 16:42:45 +04:00
parent 13497ec651
commit d5c4ac371a
32 changed files with 169 additions and 64 deletions

View file

@ -54,13 +54,15 @@ public class AddCountersSourceEffect extends OneShotEffect<AddCountersSourceEffe
super(Outcome.Benefit);
this.name = counter.getName();
this.counter = counter.copy();
this.amount = counter.getCount();
}
public AddCountersSourceEffect(final AddCountersSourceEffect effect) {
super(effect);
this.amount = effect.amount;
this.name = effect.name;
this.counter = effect.counter;
if (effect.counter != null)
this.counter = effect.counter.copy();
}
@Override