mirror of
https://github.com/magefree/mage.git
synced 2026-01-09 12:22:10 -08:00
Implement cards: Armor Thrull, Dwarven Armorer, Dwarven Lieutenant, and Elven Lyre
This commit is contained in:
parent
bc06e83ce1
commit
0d127ae2e0
10 changed files with 618 additions and 0 deletions
|
|
@ -75,8 +75,10 @@ public enum CounterType {
|
|||
M2M2(new BoostCounter(-2, -2).name),
|
||||
MINING("mining"),
|
||||
MUSTER("muster"),
|
||||
P0P1(new BoostCounter(0, 1).name),
|
||||
P1P0(new BoostCounter(1, 0).name),
|
||||
P1P1(new BoostCounter(1, 1).name),
|
||||
P1P2(new BoostCounter(1, 2).name),
|
||||
P2P2(new BoostCounter(2, 2).name),
|
||||
PAGE("page"),
|
||||
PAIN("pain"),
|
||||
|
|
@ -134,10 +136,14 @@ public enum CounterType {
|
|||
*/
|
||||
public Counter createInstance(int amount) {
|
||||
switch (this) {
|
||||
case P0P1:
|
||||
return new BoostCounter(0, 1, amount);
|
||||
case P1P0:
|
||||
return new BoostCounter(1, 0, amount);
|
||||
case P1P1:
|
||||
return new BoostCounter(1, 1, amount);
|
||||
case P1P2:
|
||||
return new BoostCounter(1, 2, amount);
|
||||
case P2P2:
|
||||
return new BoostCounter(2, 2, amount);
|
||||
case M1M1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue