mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
DigEffect WithCounterNum for Throne of the Dead Three (Undercity)
This commit is contained in:
@@ -417,7 +417,9 @@ public class DigEffect extends SpellAbilityEffect {
|
|||||||
c.setTapped(true);
|
c.setTapped(true);
|
||||||
}
|
}
|
||||||
if (destZone1.equals(ZoneType.Battlefield) && sa.hasParam("WithCounter")) {
|
if (destZone1.equals(ZoneType.Battlefield) && sa.hasParam("WithCounter")) {
|
||||||
c.addEtbCounter(CounterType.getType(sa.getParam("WithCounter")), 1, player);
|
final int numCtr = AbilityUtils.calculateAmount(host,
|
||||||
|
sa.getParamOrDefault("WithCounterNum", "1"), sa);
|
||||||
|
c.addEtbCounter(CounterType.getType(sa.getParam("WithCounter")), numCtr, player);
|
||||||
}
|
}
|
||||||
c = game.getAction().moveTo(zone, c, sa, moveParams);
|
c = game.getAction().moveTo(zone, c, sa, moveParams);
|
||||||
if (destZone1.equals(ZoneType.Battlefield)) {
|
if (destZone1.equals(ZoneType.Battlefield)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user