Changed the code of all cards with a trigger (@...) and ":aslongas()". Example: Bloodhall Ooze.

This is its new code:
[card]
name=Bloodhall Ooze
auto=@each my upkeep restriction{type(*[black]|myBattlefield)~morethan~0}:may counter(1/1)
auto=@each my upkeep restriction{type(*[green]|myBattlefield)~morethan~0}:may counter(1/1)
text=At the beginning of your upkeep, if you control a black permanent, you may put a +1/+1 counter on Bloodhall Ooze. -- At the beginning of your upkeep, if you control a green permanent, you may put a +1/+1 counter on Bloodhall Ooze.
mana={R}
type=Creature
subtype=Ooze
power=1
toughness=1
[/card]

This new version, using one of Zeth's latest additions ("restriction{...}"), shows to be a nice improvement concerning the ingame experience: NOW, the trigger will only show up in the interruption window if the restriction is matched. In the old version, it always showed up in the restriction window whenever the trigger potentially could trigger, even if the restriction was not matched.

"restriction{}" also gives us more options in coding new cards. This is one of them:

[card]
name=Library of Alexandria
auto={T}:add{1}
auto={T}:draw:1 restriction{type(*|myhand)~equalto~7}
text={T}: Add {1} to your mana pool. -- {T}: Draw a card. Activate this ability only if you have exactly seven cards in hand.
type=Land
[/card]

A famous and powerful classic! And you can for sure only tap it to draw a card if you have 7 cards in it.


Exchanged the Multikicker test for another one. The older one was doing trouble.
This commit is contained in:
solo81@web.de
2011-09-29 21:16:24 +00:00
parent 4ea2446a15
commit d7e9ee7796
5 changed files with 145 additions and 129 deletions

View File

@@ -128,6 +128,7 @@ animated_legendaries1_i221.txt
animated_legendaries2_i221.txt
animated_legendaries3_i221.txt
ankh_of_mishra.txt
Apex_Hawks_MULTIKICKER.txt
arcanis_the_omnipotent.txt
arcanis_the_omnipotent2.txt
arcbound.txt
@@ -415,7 +416,6 @@ lhurgoyf.txt
liability.txt
lifeforce.txt
lifetap.txt
Lightkeeper_of_Emeria_MULTIKICKER.txt
lightmine_field1.txt
lightmine_field2.txt
living_artifact_i169.txt