Fixed Gnathosaur Implementation

This commit is contained in:
North 2011-05-11 00:07:14 +03:00
parent 3d1cbed292
commit ca93740e06

View file

@ -34,7 +34,7 @@ import mage.Constants.Rarity;
import mage.MageInt;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.common.SacrificeTargetCost;
import mage.abilities.effects.common.continious.GainAbilityTargetEffect;
import mage.abilities.effects.common.continious.GainAbilitySourceEffect;
import mage.abilities.keyword.TrampleAbility;
import mage.cards.CardImpl;
import mage.filter.Filter;
@ -65,7 +65,7 @@ public class Gnathosaur extends CardImpl<Gnathosaur> {
this.addAbility(new SimpleActivatedAbility(
Constants.Zone.BATTLEFIELD,
new GainAbilityTargetEffect(TrampleAbility.getInstance(), Constants.Duration.EndOfTurn),
new GainAbilitySourceEffect(TrampleAbility.getInstance(), Constants.Duration.EndOfTurn),
new SacrificeTargetCost(new TargetControlledPermanent(filter))));
}