mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
* Protean Raider - Fixed that its enter the battlefield ability was wrongly implemented as a triggered ability.
This commit is contained in:
parent
eeb938af94
commit
120b8213c4
1 changed files with 4 additions and 8 deletions
|
@ -28,12 +28,10 @@
|
|||
package mage.cards.p;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.common.EntersBattlefieldAbility;
|
||||
import mage.abilities.condition.common.RaidCondition;
|
||||
import mage.abilities.decorator.ConditionalTriggeredAbility;
|
||||
import mage.abilities.effects.common.CopyPermanentEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
|
@ -55,10 +53,8 @@ public class ProteanRaider extends CardImpl {
|
|||
this.toughness = new MageInt(2);
|
||||
|
||||
// <i>Raid</i> - If you attacked with a creature this turn, you may have Protean Raider enter the battlefield as a copy of any creature on the battlefield.
|
||||
Ability ability = new ConditionalTriggeredAbility(
|
||||
new EntersBattlefieldTriggeredAbility(new CopyPermanentEffect(), true),
|
||||
RaidCondition.instance,
|
||||
"<i>Raid</i> — If you attacked with a creature this turn, you may have {this} enter the battlefield as a copy of any creature on the battlefield.");
|
||||
Ability ability = new EntersBattlefieldAbility(new CopyPermanentEffect(), true, RaidCondition.instance,
|
||||
"<i>Raid</i> — If you attacked with a creature this turn, you may have {this} enter the battlefield as a copy of any creature on the battlefield.", "");
|
||||
this.addAbility(ability, new PlayerAttackedWatcher());
|
||||
}
|
||||
|
||||
|
@ -70,4 +66,4 @@ public class ProteanRaider extends CardImpl {
|
|||
public ProteanRaider copy() {
|
||||
return new ProteanRaider(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue