mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 22:42:03 -08:00
* Overload - Fixed that overload abilities of sorceries could be used with instant speed (Mizzium Mortars, Vandablast and Teleportal).
This commit is contained in:
parent
95dee0db0b
commit
dcf8c8e45e
4 changed files with 12 additions and 3 deletions
|
|
@ -32,6 +32,7 @@ import mage.abilities.SpellAbility;
|
|||
import mage.abilities.costs.mana.ManaCosts;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.cards.Card;
|
||||
import mage.constants.TimingRule;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -59,8 +60,13 @@ import mage.cards.Card;
|
|||
public class OverloadAbility extends SpellAbility {
|
||||
|
||||
public OverloadAbility(Card card,Effect effect, ManaCosts costs) {
|
||||
this(card, effect, costs, TimingRule.INSTANT);
|
||||
}
|
||||
|
||||
public OverloadAbility(Card card,Effect effect, ManaCosts costs, TimingRule timingRule) {
|
||||
super(costs, card.getName() + " with overload");
|
||||
this.addEffect(effect);
|
||||
this.timing = timingRule;
|
||||
}
|
||||
|
||||
public OverloadAbility(final OverloadAbility ability) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue