- Added 22 successful tested cards (card list --> first comment)
Zethfox found out that a single sacrifice cost as an addition to a normal manacost can be added to the manacost-line of a card!
Here is a code example from the famous card Natural Order (VIS):
[card]
name=Natural Order
auto=moveTo(myBattlefield) target(creature[green]|myLibrary)
text=As an additional cost to cast Natural Order, sacrifice a green creature. -- Search your library for a green creature card and put it onto the battlefield. Then shuffle your library.
mana={2}{G}{G}{s;notatarget(creature[green]|mybattlefield)}
type=Sorcery
[/card]
I tested this excessively and I have to say: This kind of code leads to absolute 100%ers.
- Added 2 tests for this to save it from being broken by future code changes.
- Removed the land cycle from Visions (Coral Atoll, everglades, etc.).
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#Testing Natural Order (--> Sacrifice effects as part of the casting cost).
|
||||
#As an additional cost to cast Natural Order, sacrifice a green creature. -- Search your library for a green creature card and put it onto the battlefield. Then shuffle your library.
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:forest,grizzly bears
|
||||
hand:natural order
|
||||
library:force of nature
|
||||
manapool:{2}{G}{G}
|
||||
[PLAYER2]
|
||||
[DO]
|
||||
natural order
|
||||
choice 0
|
||||
grizzly bears
|
||||
choice 0
|
||||
force of nature
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
inplay:forest,force of nature
|
||||
graveyard:grizzly bears,natural order
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
[END]
|
||||
Reference in New Issue
Block a user