Menu

Submission for Prince of Thralls

182

Config

name=Prince of Thralls
url=http://magiccards.info/ala/en/182.html
image=http://magiccards.info/scans/en/ala/182.jpg
value=3.728
rarity=M
type=Creature
subtype=Demon
cost={4}{U}{B}{B}{R}
pt=7/7
timing=main
requires_groovy_code

Script

[
   new MagicWhenOtherDiesTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent otherPermanent) {
            return (otherPermanent.isEnemy(permanent)) ?
                new MagicEvent(
                    permanent,
					otherPermanent.getController(),
                    new MagicMayChoice(),
                    otherPermanent.getCard(),
                    this,
                    "PN may\$ pay 3 life. If he or she does not, return RN to the battlefield under your control."
                ):
                MagicEvent.NONE;
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            if (event.isYes()) {
                game.doAction(new MagicChangeLifeAction(event.getPlayer(),-3));
            }else{
				game.doAction(new MagicReanimateAction(event.getRefCard(), event.getPermanent().getController()));
			}
        }
    }
]
Pushed