mirror of
https://github.com/correl/mage.git
synced 2025-04-07 13:01:06 -09:00
Removed static instance from dynamic KickerAbility
This commit is contained in:
parent
4d1418cd86
commit
f2c76b6b88
1 changed files with 0 additions and 8 deletions
|
@ -74,8 +74,6 @@ import java.util.*;
|
||||||
*/
|
*/
|
||||||
public class KickerAbility extends StaticAbility implements OptionalAdditionalSourceCosts {
|
public class KickerAbility extends StaticAbility implements OptionalAdditionalSourceCosts {
|
||||||
|
|
||||||
private static final KickerAbility instance = new KickerAbility("");
|
|
||||||
|
|
||||||
protected static final String KICKER_KEYWORD = "Kicker";
|
protected static final String KICKER_KEYWORD = "Kicker";
|
||||||
protected static final String KICKER_REMINDER_MANA = "You may pay an additional {cost} as you cast this spell.";
|
protected static final String KICKER_REMINDER_MANA = "You may pay an additional {cost} as you cast this spell.";
|
||||||
protected static final String KICKER_REMINDER_COST = "You may {cost} in addition to any other costs as you cast this spell.";
|
protected static final String KICKER_REMINDER_COST = "You may {cost} in addition to any other costs as you cast this spell.";
|
||||||
|
@ -112,11 +110,6 @@ public class KickerAbility extends StaticAbility implements OptionalAdditionalSo
|
||||||
this.reminderText = ability.reminderText;
|
this.reminderText = ability.reminderText;
|
||||||
this.xManaValue = ability.xManaValue;
|
this.xManaValue = ability.xManaValue;
|
||||||
this.activations.putAll(ability.activations);
|
this.activations.putAll(ability.activations);
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public static KickerAbility getInstance() {
|
|
||||||
return instance;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -146,7 +139,6 @@ public class KickerAbility extends StaticAbility implements OptionalAdditionalSo
|
||||||
activations.put(key, 0);
|
activations.put(key, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getXManaValue() {
|
public int getXManaValue() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue