forked from External/mage
Now Planeswalkers use counters for loyalty. Fixed Issue 69.
This commit is contained in:
parent
13497ec651
commit
d5c4ac371a
32 changed files with 169 additions and 64 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue