[ANA] - implemented Soulhunter Rakshasa

This commit is contained in:
Oleg Agafonov 2018-10-09 18:46:45 +04:00
parent 2aa16bdf7d
commit 9207275936

View 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 cant 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);
}
}