mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
* Adroit Hateflayer - Fixed triggered ability only doing damage to opponents instead of all players (#5416).
This commit is contained in:
parent
738cb59eaf
commit
57d5c391fa
1 changed files with 5 additions and 6 deletions
|
@ -1,10 +1,9 @@
|
|||
|
||||
package mage.cards.a;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.effects.common.LoseLifeOpponentsEffect;
|
||||
import mage.abilities.effects.common.LoseLifeAllPlayersEffect;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
|
@ -18,7 +17,7 @@ import mage.constants.SubType;
|
|||
public final class AdroitHateflayer extends CardImpl {
|
||||
|
||||
public AdroitHateflayer(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{U}{B}{R}");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{U}{B}{R}");
|
||||
this.subtype.add(SubType.NAUTOLAN);
|
||||
this.subtype.add(SubType.SITH);
|
||||
this.power = new MageInt(3);
|
||||
|
@ -26,9 +25,9 @@ public final class AdroitHateflayer extends CardImpl {
|
|||
|
||||
// Menace
|
||||
this.addAbility(new MenaceAbility());
|
||||
|
||||
// Whenever Adroit Hateflayer attacks, each opponent loses 2 life.
|
||||
this.addAbility(new AttacksTriggeredAbility(new LoseLifeOpponentsEffect(2), false));
|
||||
|
||||
// Whenever Adroit Hateflayer attacks, each player loses 2 life.
|
||||
this.addAbility(new AttacksTriggeredAbility(new LoseLifeAllPlayersEffect(2), false));
|
||||
}
|
||||
|
||||
public AdroitHateflayer(final AdroitHateflayer card) {
|
||||
|
|
Loading…
Reference in a new issue