- Adding a generic "ueot" effect. This will be initially confusing, but the ultimate goal is to get rid of all the particular cases we handled with "until end of turn" effects. this "ueot " works like "may " and "choice ", it has to be at the very beginning of the ability(ies) it targets. The reason is to avoid conflicts with the existing "ueot" we have all over the place. I have only tested it with transforms and loseabilities for now (see "ovinize") but hopefully this will become the new norm. This should also reduce the code inside the parser, long term.

- Adding "Ovinize" as an example of this new keyword.
- moved "parseBetween" in utils as I am using it in other files for wome work in Progress.
This commit is contained in:
wagic.the.homebrew
2011-05-05 06:18:50 +00:00
parent 4c572a1ffa
commit 748af5b461
10 changed files with 108 additions and 41 deletions
@@ -45917,6 +45917,15 @@ mana={4}{U}{U}
type=Instant
[/card]
[card]
name=Ovinize
text=Target creature loses all abilities and becomes 0/1 until end of turn.
target=creature
auto=ueot loseabilities
auto=ueot transforms((,setpower=0,settoughness=1))
mana={1}{U}
type=Instant
[/card]
[card]
name=Owl Familiar
abilities=flying
auto=draw:1
@@ -15892,12 +15892,6 @@ power=0
toughness=1
[/card]
[card]
name=Ovinize
text=Target creature loses all abilities and becomes 0/1 until end of turn.
mana={1}{U}
type=Instant
[/card]
[card]
name=Pack Hunt
text=Search your library for up to three cards with the same name as target creature, reveal them, and put them into your hand. Then shuffle your library.
mana={3}{G}
+2
View File
@@ -424,6 +424,8 @@ orcish_lumberjack.txt
orims_chant_i595.txt
orims_chant2.txt
overrun.txt
ovinize.txt
ovinize2.txt
paradise_mantle.txt
paralysis.txt
paralysis2.txt
+19
View File
@@ -0,0 +1,19 @@
#Testing Ovinize: target creature loses its abilities and becomes 0/1 ueot
[INIT]
FIRSTMAIN
[PLAYER1]
inplay:Llanowar elves
hand:Ovinize
manapool:{1}{U}
[PLAYER2]
[DO]
Ovinize
Llanowar elves
Llanowar elves
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:Llanowar elves
graveyard:Ovinize
[PLAYER2]
[END]
+23
View File
@@ -0,0 +1,23 @@
#Testing Ovinize: target creature loses its abilities and becomes 0/1 ueot
# Testing the ueot effect
[INIT]
FIRSTMAIN
[PLAYER1]
inplay:Llanowar elves
hand:Ovinize
manapool:{1}{U}
[PLAYER2]
[DO]
Ovinize
Llanowar elves
eot
eot
Llanowar elves
[ASSERT]
UNTAP
[PLAYER1]
inplay:Llanowar elves
graveyard:Ovinize
manapool:{G}
[PLAYER2]
[END]