mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 12:19:59 -08:00
Now AI would try to get removal spells (getting additional points for them).
This commit is contained in:
parent
e7be3591d4
commit
02e09831ad
3 changed files with 46 additions and 4 deletions
|
|
@ -59,7 +59,7 @@ public class Pacifism extends CardImpl<Pacifism> {
|
|||
|
||||
TargetPermanent auraTarget = new TargetCreaturePermanent();
|
||||
this.getSpellAbility().addTarget(auraTarget);
|
||||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Detriment));
|
||||
this.getSpellAbility().addEffect(new AttachEffect(Outcome.Removal));
|
||||
Ability ability = new EnchantAbility(auraTarget.getTargetName());
|
||||
this.addAbility(ability);
|
||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new PacifismEffect()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue