mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00: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;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.LeavesBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.ExileTargetEffect;
|
||||
import mage.abilities.keyword.EvokeAbility;
|
||||
import mage.abilities.keyword.FlashAbility;
|
||||
|
@ -15,8 +14,9 @@ import mage.constants.SubType;
|
|||
import mage.target.Target;
|
||||
import mage.target.common.TargetCardInGraveyard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public final class Offalsnout extends CardImpl {
|
||||
|
@ -31,7 +31,7 @@ public final class Offalsnout extends CardImpl {
|
|||
// Flash
|
||||
this.addAbility(FlashAbility.getInstance());
|
||||
// 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();
|
||||
ability.addTarget(target);
|
||||
this.addAbility(ability);
|
||||
|
|
Loading…
Reference in a new issue