Now AI would try to get removal spells (getting additional points for them).

This commit is contained in:
magenoxx 2011-08-18 11:07:21 +04:00
parent e7be3591d4
commit 02e09831ad
3 changed files with 46 additions and 4 deletions

View file

@ -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()));