Desecration Demon and Vexing Devil (Require Confirmation)

For all your questions regarding Image Card Coding.
Please read the Image Posting Guideline & Index before posting in this forum.
Forum rules
DO NOT POST BUG REPORT IN THIS FORUM !!

Please read carefully the forum rules related to the card coding section : viewtopic.php?f=21&t=1545

All post will be edited to follow forum rules.
Post Reply
excessum
Posts: 220
Joined: Wed Jan 16, 2013 5:03 am
Contact:

Desecration Demon and Vexing Devil (Require Confirmation)

Post by excessum »

My first attempt to play with "mystored" and "opponent may" effects. Obviously, the AI is unable to make the correct choices if the player uses these cards but I am hoping to put them into AI decks.

Code: Select all

[card]
name=Vexing Devil
auto=ability$!may damage:4 controller && all(mystored) sacrifice!$ opponent
text=When Vexing Devil enters the battlefield, any opponent may have it deal 4 damage to him or her. If a player does, sacrifice Vexing Devil.
mana={R}
type=Creature
subtype=Devil
power=4
toughness=3
[/card]

Code: Select all

[card]
name=Desecration Demon
auto=flying
auto=@each combatbegins:ability$!may notatarget(creature|mybattlefield) sacrifice && all(mystored) tap && all(mystored) counter(1/1)!$ opponent
text=At the beginning of each combat, any opponent may sacrifice a creature. If a player does, tap Desecration Demon and put a +1/+1 counter on it.
mana={2}{B}{B}
type=Creature
subtype=Demon
power=6
toughness=6
[/card]
Zethfox
Posts: 3029
Joined: Thu Jun 10, 2010 11:28 pm

Re: Desecration Demon and Vexing Devil (Require Confirmation

Post by Zethfox »

These are looking pretty good, I'll have to check them out when I get home.
Niegen
Posts: 200
Joined: Sun Jul 12, 2009 9:46 am

Re: Desecration Demon and Vexing Devil (Require Confirmation

Post by Niegen »

Tested both cards, they work as they should to me.

Ai deck used to test

Code: Select all

#NAME:(((000)))Desecration Demon Vexing Devil
Desecration Demon *18
Vexing Devil *18
Mountain *12
Swamp *12
Post Reply