mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
DigUntil does nothing on 0
This commit is contained in:
@@ -87,6 +87,7 @@ public class DigUntilEffect extends SpellAbilityEffect {
|
|||||||
int untilAmount = 1;
|
int untilAmount = 1;
|
||||||
if (sa.hasParam("Amount")) {
|
if (sa.hasParam("Amount")) {
|
||||||
untilAmount = AbilityUtils.calculateAmount(host, sa.getParam("Amount"), sa);
|
untilAmount = AbilityUtils.calculateAmount(host, sa.getParam("Amount"), sa);
|
||||||
|
if (untilAmount == 0) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Integer maxRevealed = null;
|
Integer maxRevealed = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user