Page 1 of 1

Akromas Memorial help (all creatures protection black/red)

PostPosted: 13 Nov 2012, 23:22
by Lirave
hi, i want to know how i can add protection from black and red for all my creatures. I cant find the right keywords for it.
Can you please look at it ?

| Open
Code: Select all
<?xml version='1.0'?>
<CARD_V2>
  <FILENAME text="AKROMAS_MEMORIAL_279712" />
  <CARDNAME text="AKROMAS_MEMORIAL" />
  ... too spamy for a new user ...
  <STATIC_ABILITY filter_zone="ZONE_IN_PLAY">

    ... too spamy for a new user ...

    <FILTER>
      return (FilteredCard() ~= nil and
      FilteredCard():GetCardType():Test( CARD_TYPE_CREATURE ) ~= 0 and
      FilteredCard():GetZone() == ZONE_IN_PLAY and 
      FilteredCard():GetPlayer() == Object():GetPlayer())
    </FILTER>
    <CONTINUOUS_ACTION layer="7C">
      if FilteredCard() ~= nil then
        local characteristics = FilteredCard():GetCurrentCharacteristics()
        if characteristics ~= nil then
          characteristics:Characteristic_Set( CHARACTERISTIC_FLYING, 1 )
          characteristics:Characteristic_Set( CHARACTERISTIC_FIRST_STRIKE, 1 )
          characteristics:Characteristic_Set( CHARACTERISTIC_VIGILANCE, 1 )
          characteristics:Characteristic_Set( CHARACTERISTIC_TRAMPLE, 1 )
          characteristics:Characteristic_Set( CHARACTERISTIC_HASTE, 1 )
        end
      end
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>
  <AI_BASE_SCORE score="600" zone="ZONE_IN_PLAY" />
</CARD_V2>
Thank you.

Re: Akromas Memorial help (all creatures protection black/re

PostPosted: 14 Nov 2012, 09:29
by thefiremind
Here you can find Akroma's Memorial already coded by me. :wink:

Re: Akromas Memorial help (all creatures protection black/re

PostPosted: 14 Nov 2012, 09:50
by Lirave
Thank you thefiremind,
i thought i searched the forum for "akroma" but didn't found your post.