mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
[CLB] Implemented Recruitment Drive
This commit is contained in:
parent
c9af863132
commit
a262ad6c47
2 changed files with 45 additions and 0 deletions
44
Mage.Sets/src/mage/cards/r/RecruitmentDrive.java
Normal file
44
Mage.Sets/src/mage/cards/r/RecruitmentDrive.java
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.effects.common.RollDieWithResultTableEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.game.permanent.token.KnightToken;
|
||||
import mage.game.permanent.token.SoldierToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RecruitmentDrive extends CardImpl {
|
||||
|
||||
public RecruitmentDrive(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{W}");
|
||||
|
||||
// Roll a d20.
|
||||
RollDieWithResultTableEffect effect = new RollDieWithResultTableEffect(20);
|
||||
|
||||
// 1-9 | Create two 1/1 white Soldier creature tokens.
|
||||
effect.addTableEntry(1, 9, new CreateTokenEffect(new SoldierToken(), 2));
|
||||
|
||||
// 10-19 | Create two 2/2 white Knight creature tokens.
|
||||
effect.addTableEntry(10, 19, new CreateTokenEffect(new KnightToken(), 2));
|
||||
|
||||
// 20 | Create three 2/2 white Knight creature tokens.
|
||||
effect.addTableEntry(20, 20, new CreateTokenEffect(new KnightToken(), 3));
|
||||
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
}
|
||||
|
||||
private RecruitmentDrive(final RecruitmentDrive card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RecruitmentDrive copy() {
|
||||
return new RecruitmentDrive(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -191,6 +191,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Raphael, Fiendish Savior", 292, Rarity.RARE, mage.cards.r.RaphaelFiendishSavior.class));
|
||||
cards.add(new SetCardInfo("Rasaad yn Bashir", 37, Rarity.UNCOMMON, mage.cards.r.RasaadYnBashir.class));
|
||||
cards.add(new SetCardInfo("Reckless Barbarian", 193, Rarity.COMMON, mage.cards.r.RecklessBarbarian.class));
|
||||
cards.add(new SetCardInfo("Recruitment Drive", 38, Rarity.COMMON, mage.cards.r.RecruitmentDrive.class));
|
||||
cards.add(new SetCardInfo("Reflecting Pool", 358, Rarity.RARE, mage.cards.r.ReflectingPool.class));
|
||||
cards.add(new SetCardInfo("Renari, Merchant of Marvels", 90, Rarity.UNCOMMON, mage.cards.r.RenariMerchantOfMarvels.class));
|
||||
cards.add(new SetCardInfo("Rilsa Rael, Kingpin", 293, Rarity.UNCOMMON, mage.cards.r.RilsaRaelKingpin.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue