Add corpse counter to MagicPlayMod

master
Ada Joule 2018-11-09 04:40:37 +07:00 committed by Melvin Zhang
parent 24a5625736
commit 8ccca8aa3d
1 changed files with 6 additions and 0 deletions

View File

@ -134,6 +134,12 @@ public enum MagicPlayMod implements MagicPermanentAction {
perm.changeCounters(MagicCounterType.Death,1);
}
},
CORPSE_COUNTER() {
@Override
protected void doAction(final MagicGame game, final MagicPermanent perm) {
perm.changeCounters(MagicCounterType.Corpse,1);
}
},
ARTIFACT() {
@Override
protected void doAction(final MagicGame game, final MagicPermanent perm) {