Page 1 of 1

Anvil of Bogardan [request]

PostPosted: 07 Oct 2012, 13:24
by skullblakka
hi moders

i'm trying to begin to make some decks and i need this last card that isn't coded by any moders (as far as i know)
can someone code this card? Anvil of Bogardan

thx

Re: Anvil of Bogardan [request]

PostPosted: 07 Oct 2012, 13:57
by thefiremind
It's basically a Spellbook (for all players) plus Howling Mine plus the discard. It shouldn't be difficult. I'll give it a try later if nobody gets it done before.

EDIT: Here it is. I didn't test it, but it should work.

Re: Anvil of Bogardan [request]

PostPosted: 07 Oct 2012, 14:43
by skullblakka
i found the code but i don't know how to put the picture of the card on it

Code: Select all
<?xml version='1.0'?>
<CARD_V2>
  <FILENAME text="ANVIL_OF_BOGARDAN_3589" />
  <CARDNAME text="ANVIL_OF_BOGARDAN" />
  <TITLE>
     <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Anvil Of Bogardan]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Anvil Of Bogardan]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Anvil Of Bogardan]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Anvil Of Bogardan]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Anvil Of Bogardan]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Anvil Of Bogardan]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="3589" />
  <ARTID value="3589" />
  <FRAMECOLOUR name="A" />
  <COLOUR value="A" />
  <ARTIST name="Roger Raupp" />
  <CASTING_COST cost="{2}" />
  <TYPE metaname="Artifact" order_de-DE="0" order_es-ES="0" order_fr-FR="0" order_it-IT="0" order_jp-JA="0" />
  <EXPANSION value="DPE" />
  <RARITY metaname="R" />

  <STATIC_ABILITY influencing_zone="player">
     <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Players have no maximum hand size.]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Players have no maximum hand size.]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Players have no maximum hand size.]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Players have no maximum hand size.]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Players have no maximum hand size.]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Players have no maximum hand size.]]></LOCALISED_TEXT>
    <FILTER>
    return FilteredPlayer() ~= nil
    </FILTER>
    <CONTINUOUS_ACTION>
    FilteredPlayer():GetCurrentCharacteristics():Bool_Set( PLAYER_CHARACTERISTIC_NO_HAND_LIMIT, 1 )
    </CONTINUOUS_ACTION>
  </STATIC_ABILITY>

  <TRIGGERED_ABILITY auto_skip="1" active_zone="in_play">
     <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of each player’s draw step, that player draws an additional card, then discards a card.]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[At the beginning of each player’s draw step, that player draws an additional card, then discards a card.]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[At the beginning of each player’s draw step, that player draws an additional card, then discards a card.]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[At the beginning of each player’s draw step, that player draws an additional card, then discards a card.]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[At the beginning of each player’s draw step, that player draws an additional card, then discards a card.]]></LOCALISED_TEXT>
     <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[At the beginning of each player’s draw step, that player draws an additional card, then discards a card.]]></LOCALISED_TEXT>
    <TRIGGER value="BEGINNING_OF_STEP">
    return MTG():GetStep() == STEP_DRAW and TriggerPlayer():MyTurn() ~= 0 and Object():Tapped() == 0
    </TRIGGER>
    <RESOLUTION_TIME_ACTION>
      TriggerPlayer():DrawCard()
    </RESOLUTION_TIME_ACTION>
    <AI_BASE_SCORE score="400" zone="in_play" />
  </TRIGGERED_ABILITY>

  <TRIGGERED_ABILITY auto_skip="1" active_zone="in_play">
    <TRIGGER value="END_OF_STEP">
    return MTG():GetStep() == STEP_DRAW and TriggerPlayer():MyTurn() ~= 0 and Object():Tapped() == 0
    </TRIGGER>
    <RESOLUTION_TIME_ACTION>
      TriggerPlayer():DiscardNCards(1, "CARD_QUERY_CHOOSE_CARD_TO_DISCARD")
    </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
</CARD_V2>
i took it from there -> viewtopic.php?f=63&t=5956&p=77528&hilit=anvil+of+bogardan#p77528
DOTP12 card i hope i saved you some time
is it possible to put the picture on it?

EDIT : we both posted :)
i did test it it work i have to find a way to put the picture now <- noob :lol:

Re: Anvil of Bogardan [request]

PostPosted: 07 Oct 2012, 14:48
by thefiremind
Put the card in DATA_ALL_PLATFORM\CARDS, and the picture in DATA_ALL_PLATFORMS\ART_ASSETS\ILLUSTRATIONS, that's all. You say you are making decks so I suppose you already have your own WAD file... if not, I think you could start from here:
viewtopic.php?f=65&t=8290

Re: Anvil of Bogardan [request]

PostPosted: 07 Oct 2012, 15:09
by skullblakka
yes but i took a wad from a deck i don't like and i didn't know how make my own
ill read your guide thx for all!
ill post my deck when completed and working well

Re: Anvil of Bogardan [request]

PostPosted: 09 Oct 2012, 16:42
by skullblakka
ok well i made two new decks but when i change the decks ID i have an error message at the launch of the game like this one

"your deck has been reset to zero in the original configuration due to the indisponibility of the necessary contents"

maybe that's a bad translation from my french but i think you know what i am talking about.

what must i do to don't have it anymore?

Re: Anvil of Bogardan [request]

PostPosted: 09 Oct 2012, 18:33
by RiiakShiNal
That error appears when one of several conditions is true:
  • When the content of a saved deck has changed resulting in one or more cards that were previously available to no longer be available.
    • Card that was working previously now has an XML error that causes it to not load (can be common when building cards).
    • Cards removed from deck instead of being replaced (can be common when building decks).
    • Unlocks are no longer available (for example changed deck id, but forgot to change the deck id in the unlock xml).
  • Deck ID is outside of valid range. Numbers that are too large can cause that, we believe that the deck id uses a 32-bit integer (though we don't know if it is signed or not), so safe numbers are those below about 2.147 billion.
  • Deck that was active is no longer available (can happen if testing a deck then changed the id).

There may also be other conditions that can cause that message, but generally it means that the game can't read or access something which necessitates resetting the deck configuration for one or more decks.

Re: Anvil of Bogardan [request]

PostPosted: 09 Oct 2012, 19:24
by skullblakka
found!

my id was 1 figure too large

thx dude.

i'll post some decks and an unlock file for all decks from all MOTG13 mods when they will be ready