mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
- AI outcome fix for Oracle's Insight
This commit is contained in:
parent
26e12b55c8
commit
e25f08c9c1
1 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.cards.o;
|
||||
|
||||
import java.util.UUID;
|
||||
|
@ -30,14 +29,13 @@ import mage.target.common.TargetCreaturePermanent;
|
|||
public final class OraclesInsight extends CardImpl {
|
||||
|
||||
public OraclesInsight(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.ENCHANTMENT},"{3}{U}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{3}{U}");
|
||||
this.subtype.add(SubType.AURA);
|
||||
|
||||
|
||||
// Enchant creature
|
||||
TargetPermanent auraTarget = new TargetCreaturePermanent();
|
||||
this.getSpellAbility().addTarget(auraTarget);
|
||||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.AddAbility));
|
||||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Benefit));
|
||||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||
this.addAbility(ability);
|
||||
// Enchanted creature has "{T}: Scry 1, then draw a card."
|
||||
|
|
Loading…
Reference in a new issue