Fixed several primitives with "castcard" ability, fixed a bug when using "noevent" and "copied" options togheter with "namedcard" option in "castcard" ability, allowed the usage of "and!()!" ability with "namedcard" option in "castcard" ability for permanents, added "daybound" and "nightbound" abilities.

This commit is contained in:
Vittorio Alfieri
2021-09-04 21:14:05 +02:00
parent cc16db7256
commit c211b2eaa4
7 changed files with 77 additions and 62 deletions
@@ -653,7 +653,7 @@ auto=counter(0/0,4,Loyalty)
auto={C(0/0,1,Loyalty)}:name(+1: Opponent discards or sacrifice) transforms((,newability[counter(0/0.1.DavrielEffect)],newability[phaseaction[my untap once sourceinplay] counter(0/0.-1.DavrielEffect)])) forever
auto=@each blockers restriction{type(creature[attacking]|opponentbattlefield)~morethan~0,compare(hascntdavrieleffect)~morethan~0,type(*|opponenthand)~morethan~0}:ability$!name(Discard a card) name(Discard a card) target(*|myhand) reject!$ opponent
auto=@each blockers restriction{type(creature[attacking]|opponentbattlefield)~morethan~0,compare(hascntdavrieleffect)~morethan~0,type(*|opponenthand)~equalto~0}:ability$!name(Sacrifice a creature) name(Sacrifice a creature) target(creature[attacking]|mybattlefield) sacrifice!$ opponent
auto={C(0/0,-2,Loyalty)}:name(-2: Offers and conditions) activate castcard(normal named!:davriel conditions:!) and!( activate castcard(normal named!:davriel offers:!) )!
auto={C(0/0,-2,Loyalty)}:name(-2: Offers and conditions) activate castcard(copied noevent normal named!:davriel conditions:!) and!( activate castcard(copied noevent normal named!:davriel offers:!) )!
auto={C(0/0,-3,Loyalty)}:name(-3: Creature perpetually gets -3/-3) target(creature) counter(-3/-3.1.PerpetualPT)
text=+1: Until your next turn, whenever an opponent attacks you and/or planeswalkers you control, they discard a card. If they cant, they sacrifice an attacking creature. -- 2: Accept one of Davriels offers, then accept one of Davriels conditions. -- 3: Target creature perpetually gets -3/-3.
mana={2}{B}{B}