mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08:00
[LTC] Implement Oarth Of Eorl (#10469)
Added one constructor for SagaAbility, accepting multiple effects and a target.
This commit is contained in:
parent
1194feefd8
commit
720b2fe163
4 changed files with 112 additions and 0 deletions
|
|
@ -63,6 +63,10 @@ public class SagaAbility extends SimpleStaticAbility {
|
|||
addChapterEffect(card, chapter, chapter, new Effects(effects));
|
||||
}
|
||||
|
||||
public void addChapterEffect(Card card, SagaChapter chapter, Effects effects, Target target) {
|
||||
addChapterEffect(card, chapter, chapter, effects, target);
|
||||
}
|
||||
|
||||
public void addChapterEffect(Card card, SagaChapter chapter, Consumer<TriggeredAbility> applier) {
|
||||
addChapterEffect(card, chapter, chapter, applier);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,34 @@
|
|||
package mage.game.permanent.token;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.keyword.HasteAbility;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
/**
|
||||
* @author Susucr
|
||||
*/
|
||||
public final class HumanKnightToken extends TokenImpl {
|
||||
|
||||
public HumanKnightToken() {
|
||||
super("Human Knight Token", "2/2 red Human Knight creature token with trample and haste");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setRed(true);
|
||||
subtype.add(SubType.HUMAN);
|
||||
subtype.add(SubType.KNIGHT);
|
||||
power = new MageInt(2);
|
||||
toughness = new MageInt(2);
|
||||
addAbility(TrampleAbility.getInstance());
|
||||
addAbility(HasteAbility.getInstance());
|
||||
}
|
||||
|
||||
public HumanKnightToken(final HumanKnightToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HumanKnightToken copy() {
|
||||
return new HumanKnightToken(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue