Refactored counters on permanents counting

Added BecomeMonstrousTriggeredAbility 
Added Target and Filter class for creature an opponent controls
This commit is contained in:
Styxo 2016-09-03 12:38:58 +02:00
parent 0c89b81da0
commit 2aec9f2ca7
77 changed files with 331 additions and 172 deletions

View file

@ -7,15 +7,15 @@ import mage.counters.CounterType;
import mage.game.Game;
import mage.game.permanent.Permanent;
public class CountersCount implements DynamicValue {
public class CountersSourceCount implements DynamicValue {
private final CounterType counter;
public CountersCount(CounterType counter) {
public CountersSourceCount(CounterType counter) {
this.counter = counter;
}
public CountersCount(final CountersCount countersCount) {
public CountersSourceCount(final CountersSourceCount countersCount) {
this.counter = countersCount.counter;
}
@ -29,8 +29,8 @@ public class CountersCount implements DynamicValue {
}
@Override
public CountersCount copy() {
return new CountersCount(this);
public CountersSourceCount copy() {
return new CountersSourceCount(this);
}
@Override