It is currently 11 May 2025, 09:17
   
Text Size

Ashen-Skin Zubera

Moderator: CCGHQ Admins

Ashen-Skin Zubera

Postby spiwy » 17 Mar 2011, 00:58

Hello guys, I'm kind of new to the community, and I want to help as much as possible, but first I have to learn :P, so I started to code some cards for DOPT from my favourite block (Kamigawa), and I got to this card, and I can't make it work for some reason, I managed to put it as a plain 1/2 black creature, but when I write the abilities it just doesn't show in the deck. Any suggestion please? Thanks in advance!!

Image

Code: Select all
      <TRIGGERED_ABILITY zone="any" internal="1">
         <TRIGGER value="HIT_GRAVEYARD">
            return CreaturesYouControlOfType( CREATURE_TYPE_ZUBERA ) and OtherCreatures()
         </TRIGGER>
         <EFFECT>
            Object():Register_Set( 0, Object():Register_Get(0)+1)
         <EFFECT>
      </TRIGGERED_ABILITY>
      <TRIGGERED_ABILITY layer="0" tag="ASHEN_SKIN_ZUBERA_RULE_1">
         <TRIGGER value="HIT_GRAVEYARD">
            return SelfTriggered()
         </TRIGGER>
         <TARGET_DETERMINATION>
            return TargetOpponent( Object():GetPlayer() )
         </TARGET_DETERMINATION>
         <PLAYTIME>
            ChooseTarget( "ChooseOpponentDiscardOne" )
         </PLAYTIME>
         <EFFECT>
            local n=Register_Get(0)
            for i=0 n do
               TargetPlayerDiscardsACard()
      </TRIGGERED_ABILITY>
      <TRIGGERED_ABILITY zone="any" internal="1">
        <TRIGGER value="BEGINNING_OF_STEP">
         return EveryUpkeep()
        </TRIGGER>
        <EFFECT>
         Object():Register_Set( 0, 0)
        </EFFECT>
      </TRIGGERED_ABILITY>
spiwy
 
Posts: 24
Joined: 15 Mar 2011, 14:21
Location: Spain
Has thanked: 1 time
Been thanked: 0 time

Re: Ashen-Skin Zubera

Postby Shatterhouse » 17 May 2011, 02:47

I just read this for the first time.
You've probably figured out the problem by now, two months later. But for everybody else:

When cards suddenly stop showing up in game, it's usually because you didn't close all your XML tags properly.
Shatterhouse
 
Posts: 72
Joined: 20 Apr 2011, 00:07
Has thanked: 0 time
Been thanked: 2 times

Re: Ashen-Skin Zubera

Postby spiwy » 17 May 2011, 11:00

Yep i did :P, thanks for the answer anyway, it was very frustrating to try to start coding and nobody was here to help! But now we are recovering ^.^
spiwy
 
Posts: 24
Joined: 15 Mar 2011, 14:21
Location: Spain
Has thanked: 1 time
Been thanked: 0 time


Return to Programming Talk

Who is online

Users browsing this forum: No registered users and 4 guests


Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 4 guests

Login Form