lock targeted out of this "if"

This commit is contained in:
Northmoc
2020-11-22 08:46:44 -05:00
parent f0ed87eb18
commit b0a1014ce4

View File

@@ -265,7 +265,7 @@ public class CountersPutEffect extends SpellAbilityEffect {
params.put("CounterType", counterType);
counterAmount = pc.chooseNumber(sa, Localizer.getInstance().getMessage("lblHowManyCounters"), 0, counterAmount, params);
}
if (sa.hasParam("DividedAsYouChoose")) {
if (sa.hasParam("DividedAsYouChoose") && !sa.usesTargeting()) {
Map<String, Object> params = Maps.newHashMap();
params.put("Target", obj);
params.put("CounterType", counterType);