forked from External/mage
moved Watchers to Ability and moved Counters to CardState
This commit is contained in:
parent
620a3b9a52
commit
632573fc3e
204 changed files with 1516 additions and 347 deletions
|
|
@ -32,7 +32,6 @@ import mage.abilities.Ability;
|
|||
import mage.abilities.MageSingleton;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.cards.Card;
|
||||
import mage.game.Game;
|
||||
import mage.watchers.common.PlayerGainedLifeWatcher;
|
||||
|
||||
|
|
@ -53,8 +52,7 @@ public class ControllerGotLifeCount implements DynamicValue, MageSingleton {
|
|||
return fINSTANCE;
|
||||
}
|
||||
|
||||
public static ControllerGotLifeCount getInstance(Card card) {
|
||||
card.addWatcher(new PlayerGainedLifeWatcher());
|
||||
public static ControllerGotLifeCount getInstance() {
|
||||
return fINSTANCE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue