Add Risk Factor
parent
fc3d291c5c
commit
4773c60155
|
@ -0,0 +1,35 @@
|
|||
def action = {
|
||||
final MagicGame game, final MagicEvent event ->
|
||||
if (event.isYes()) {
|
||||
game.doAction(new DealDamageAction(event.getSource(), event.getPlayer(), 4));
|
||||
} else {
|
||||
game.doAction(new DrawAction(event.getRefPlayer(), 3));
|
||||
}
|
||||
}
|
||||
|
||||
[
|
||||
new MagicSpellCardEvent() {
|
||||
@Override
|
||||
public MagicEvent getEvent(final MagicCardOnStack cardOnStack, final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
cardOnStack,
|
||||
this,
|
||||
""
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
final MagicSource source = event.getSource();
|
||||
final MagicPlayer player = event.getPlayer();
|
||||
game.addEvent(new MagicEvent(
|
||||
source,
|
||||
player.getOpponent(),
|
||||
new MagicMayChoice("Have ${source} deal 4 damage to you?"),
|
||||
player,
|
||||
action,
|
||||
"PN may\$ have SN deal 4 damage to them. If PN doesn't, RN draws 3 cards."
|
||||
));
|
||||
}
|
||||
}
|
||||
]
|
|
@ -4,6 +4,7 @@ value=2.500
|
|||
rarity=R
|
||||
type=Instant
|
||||
cost={2}{R}
|
||||
effect=Target opponent may have SN deal 4 damage to them. If that player doesn't, you draw three cards.~Jump-start
|
||||
ability=Jump-start
|
||||
timing=removal
|
||||
requires_groovy_code
|
||||
oracle=Target opponent may have Risk Factor deal 4 damage to them. If that player doesn't, you draw three cards.\nJump-start
|
Loading…
Reference in New Issue