Menu

Glorious Anthem Problem...

2005-01-11
2013-04-25
  • Khaleb Midgard

    Khaleb Midgard - 2005-01-11

    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>

     
    • Fabrice Daugan

      Fabrice Daugan - 2005-01-11

      You have missed in the filtertest element the constraint of controller :
      <filtertest zone="play">
      .....<and>
      .........<hasidcard idcard="creature"/>
      .........<controller player="controller"/>
      .....</and>
      </filtertest>

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.