mirror of
https://github.com/correl/mage.git
synced 2025-03-17 01:06:26 -09:00
fixed Offalsnout triggering off of ETB rather than LTB
This commit is contained in:
parent
9181047edb
commit
cf19bf2f56
1 changed files with 5 additions and 5 deletions
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
package mage.cards.o;
|
package mage.cards.o;
|
||||||
|
|
||||||
import java.util.UUID;
|
|
||||||
import mage.MageInt;
|
import mage.MageInt;
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
import mage.abilities.common.LeavesBattlefieldTriggeredAbility;
|
||||||
import mage.abilities.effects.common.ExileTargetEffect;
|
import mage.abilities.effects.common.ExileTargetEffect;
|
||||||
import mage.abilities.keyword.EvokeAbility;
|
import mage.abilities.keyword.EvokeAbility;
|
||||||
import mage.abilities.keyword.FlashAbility;
|
import mage.abilities.keyword.FlashAbility;
|
||||||
|
@ -15,8 +14,9 @@ import mage.constants.SubType;
|
||||||
import mage.target.Target;
|
import mage.target.Target;
|
||||||
import mage.target.common.TargetCardInGraveyard;
|
import mage.target.common.TargetCardInGraveyard;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @author LevelX2
|
* @author LevelX2
|
||||||
*/
|
*/
|
||||||
public final class Offalsnout extends CardImpl {
|
public final class Offalsnout extends CardImpl {
|
||||||
|
@ -31,7 +31,7 @@ public final class Offalsnout extends CardImpl {
|
||||||
// Flash
|
// Flash
|
||||||
this.addAbility(FlashAbility.getInstance());
|
this.addAbility(FlashAbility.getInstance());
|
||||||
// When Offalsnout leaves the battlefield, exile target card from a graveyard.
|
// When Offalsnout leaves the battlefield, exile target card from a graveyard.
|
||||||
Ability ability = new EntersBattlefieldTriggeredAbility(new ExileTargetEffect(),false);
|
Ability ability = new LeavesBattlefieldTriggeredAbility(new ExileTargetEffect(), false);
|
||||||
Target target = new TargetCardInGraveyard();
|
Target target = new TargetCardInGraveyard();
|
||||||
ability.addTarget(target);
|
ability.addTarget(target);
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
|
|
Loading…
Add table
Reference in a new issue