mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Added depletionCounter
This commit is contained in:
parent
0484431f59
commit
ad93de847a
2 changed files with 30 additions and 0 deletions
|
@ -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:
|
||||
|
|
26
Mage/src/mage/counters/common/DepletionCounter.java
Normal file
26
Mage/src/mage/counters/common/DepletionCounter.java
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue