mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
[ANA] - implemented Soulhunter Rakshasa
This commit is contained in:
parent
2aa16bdf7d
commit
9207275936
1 changed files with 45 additions and 0 deletions
45
Mage.Sets/src/mage/cards/s/SoulhunterRakshasa.java
Normal file
45
Mage.Sets/src/mage/cards/s/SoulhunterRakshasa.java
Normal file
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.CantBlockAbility;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetOpponentOrPlaneswalker;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author JayDi85
|
||||
*/
|
||||
public final class SoulhunterRakshasa extends CardImpl {
|
||||
|
||||
public SoulhunterRakshasa(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}{B}");
|
||||
this.subtype.add(SubType.CAT, SubType.DEMON);
|
||||
|
||||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(5);
|
||||
|
||||
// Soulhunter Rakshasa can’t block.
|
||||
this.addAbility(new CantBlockAbility());
|
||||
|
||||
// When Soulhunter Rakshasa enters the battlefield, it deals 5 damage to target opponent.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(2, "it"), false);
|
||||
ability.addTarget(new TargetOpponentOrPlaneswalker());
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
public SoulhunterRakshasa(final SoulhunterRakshasa card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SoulhunterRakshasa copy() {
|
||||
return new SoulhunterRakshasa(this);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue