mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Bestow ability - Fixed that bestow could be cast with instant timing.
This commit is contained in:
parent
4c274d7fb8
commit
cdecd516a2
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,7 @@ import mage.constants.Layer;
|
|||
import static mage.constants.Layer.TypeChangingEffects_4;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.SubLayer;
|
||||
import mage.constants.TimingRule;
|
||||
import mage.constants.Zone;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
@ -107,6 +108,7 @@ public class BestowAbility extends SpellAbility {
|
|||
|
||||
public BestowAbility(Card card, String manaString) {
|
||||
super(new ManaCostsImpl(manaString), card.getName() + " using bestow");
|
||||
this.timing = TimingRule.SORCERY;
|
||||
TargetPermanent auraTarget = new TargetCreaturePermanent();
|
||||
this.addTarget(auraTarget);
|
||||
this.addEffect(new AttachEffect(Outcome.BoostCreature));
|
||||
|
|
Loading…
Reference in a new issue