I use the crusade and castle xml references, but, this not work as expected, because ALL creature are gain +1/+1, not only the same controller of "Glorious Anthem"...
How i can do this?
You have missed in the filtertest element the constraint of controller :
<filtertest zone="play">
.....<and>
.........<hasidcard idcard="creature"/>
.........<controller player="controller"/>
.....</and>
</filtertest>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use the crusade and castle xml references, but, this not work as expected, because ALL creature are gain +1/+1, not only the same controller of "Glorious Anthem"...
How i can do this?
<?xml version="1.0"?>
<card xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="tbs/mpvalidator.xsd"
name="Glorious Anthem">
<rules-author-comment>By fabdouglas</rules-author-comment>
<include>include/mtgconstants.xml</include>
<init>
<setregister>
<register index="white" value="2"/>
<register index="colorless" value="1"/>
</setregister>
<addcolor>white</addcolor>
<addidcard>globalenchantment</addidcard>
</init>
<abilities>
<ability reference="cast-spell"/>
</abilities>
<modifiers>
<static-modifier zone="play">
<filtertest zone="play">
<hasidcard idcard="creature"/>
</filtertest>
<modifiers>
<register-modifier index="power" operation="add" value="1" linked="true"/>
<register-modifier index="toughness" operation="add" value="1" linked="true"/>
</modifiers>
</static-modifier>
</modifiers>
</card>
You have missed in the filtertest element the constraint of controller :
<filtertest zone="play">
.....<and>
.........<hasidcard idcard="creature"/>
.........<controller player="controller"/>
.....</and>
</filtertest>