Added depletionCounter

This commit is contained in:
Plopman 2014-05-22 18:26:58 +02:00
parent 0484431f59
commit ad93de847a
2 changed files with 30 additions and 0 deletions

View file

@ -35,6 +35,7 @@ import mage.counters.common.AwakeningCounter;
import mage.counters.common.BlazeCounter;
import mage.counters.common.BriberyCounter;
import mage.counters.common.ChargeCounter;
import mage.counters.common.DepletionCounter;
import mage.counters.common.DespairCounter;
import mage.counters.common.DevotionCounter;
import mage.counters.common.DivinityCounter;
@ -86,6 +87,7 @@ public enum CounterType {
BLAZE(new BlazeCounter().name),
BRIBERY(new BriberyCounter().name),
CHARGE(new ChargeCounter().name),
DEPLETION(new DepletionCounter().name),
DESPAIR(new DespairCounter().name),
DEVOTION(new DevotionCounter().name),
DIVINITY(new DivinityCounter().name),
@ -166,6 +168,8 @@ public enum CounterType {
return new PoisonCounter(amount);
case CHARGE:
return new ChargeCounter(amount);
case DEPLETION:
return new DepletionCounter(amount);
case DOOM:
return new DoomCounter(amount);
case LORE:

View file

@ -0,0 +1,26 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package mage.counters.common;
import mage.counters.Counter;
/**
*
* @author Plopman
*/
public class DepletionCounter extends Counter<DepletionCounter> {
public DepletionCounter() {
super("Depletion");
this.count = 1;
}
public DepletionCounter(int amount) {
super("Depletion");
this.count = amount;
}
}