* Kicker - Fixed that canceled multikicker activations were not reseted on recast.

This commit is contained in:
LevelX2 2015-08-04 23:20:38 +02:00
parent e5433599b6
commit 7ff4087bc7

View file

@ -143,6 +143,13 @@ public class KickerAbility extends StaticAbility implements OptionalAdditionalSo
for (OptionalAdditionalCost cost : kickerCosts) {
cost.reset();
}
String key = getActivationKey(source, "", game);
for (String activationKey : activations.keySet()) {
if (activationKey.startsWith(key) && activations.get(activationKey) > 0) {
activations.put(key, 0);
}
}
}
public int getXManaValue() {