mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
* Kicker - Fixed that canceled multikicker activations were not reseted on recast.
This commit is contained in:
parent
e5433599b6
commit
7ff4087bc7
1 changed files with 7 additions and 0 deletions
|
@ -143,6 +143,13 @@ public class KickerAbility extends StaticAbility implements OptionalAdditionalSo
|
||||||
for (OptionalAdditionalCost cost : kickerCosts) {
|
for (OptionalAdditionalCost cost : kickerCosts) {
|
||||||
cost.reset();
|
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() {
|
public int getXManaValue() {
|
||||||
|
|
Loading…
Reference in a new issue