It is currently 28 Apr 2024, 11:51
   
Text Size

MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Moderator: CCGHQ Admins

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby johneeeee » 02 Oct 2014, 17:14

As someone who plays the game in german, I second Kithkins suggestions. The official translations are absolutely terrible.
johneeeee
 
Posts: 6
Joined: 09 Aug 2014, 17:34
Has thanked: 0 time
Been thanked: 0 time

Re: MTG - KHANS OF TARKIR - COMPLETE SET

Postby NeoAnderson » 02 Oct 2014, 17:53

Kithkin wrote:As expected, the German localization is awful. :wink:

Here are my suggestions:
| Open
Old: Kannst diese Karte verdeckt.
New: Spiele diese Karte verdeckt.
----------------------------------
Old: Diesen Zauberspruch spielst Gesicht nach unten zahlen {3}.
New: Spiele diese Karte verdeckt für {3}.
----------------------------------
Old: Stornieren
New: Abbrechen
-----------------------------------
Old: Zusammenfassende Informationen der verborgenen Karte
New: Informationen zur verdeckten Karte
----------------------------------
Old: Zahlen {2} und verwandelt sich in:
New: Decke diese Karte für {2} auf:
----------------------------------
Old: POWER/ZÄHIGKEIT
New: Stärke/Widerstandskraft
I will update this German text a.s.a.p. just one thing, are are them inside the morph xml file?
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: MTG - KHANS OF TARKIR - COMPLETE SET

Postby Kithkin » 02 Oct 2014, 17:58

NeoAnderson wrote:
Kithkin wrote:As expected, the German localization is awful. :wink:

Here are my suggestions:
| Open
Old: Kannst diese Karte verdeckt.
New: Spiele diese Karte verdeckt.
----------------------------------
Old: Diesen Zauberspruch spielst Gesicht nach unten zahlen {3}.
New: Spiele diese Karte verdeckt für {3}.
----------------------------------
Old: Stornieren
New: Abbrechen
-----------------------------------
Old: Zusammenfassende Informationen der verborgenen Karte
New: Informationen zur verdeckten Karte
----------------------------------
Old: Zahlen {2} und verwandelt sich in:
New: Decke diese Karte für {2} auf:
----------------------------------
Old: POWER/ZÄHIGKEIT
New: Stärke/Widerstandskraft
I will update this German text a.s.a.p. just one thing, are are them inside the morph xml file?
What I call "old" is your localization on the morph and on the token.
User avatar
Kithkin
 
Posts: 456
Joined: 21 Feb 2014, 07:12
Location: Cologne, GERMANY
Has thanked: 11 times
Been thanked: 56 times

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby NeoAnderson » 02 Oct 2014, 19:02

The first replacement need to be applied directly on each morph card. The other are into xml text file, i will made it in these days, for now be patient, hoping that the quality of the play is better that translations.
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby GarrukSmith » 03 Oct 2014, 04:46

Hey guys,

I've compiled a deck that I would like to export to a WAD file, but for some reason, it's not letting me do it. I keep getting an error message that reads:

Code: Select all
One of the identified items is an invalid format.


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.FormatException: One of the identified items was in an invalid format.
   at Gibbed.Duels.FileFormats.TdxFile.Serialize(Stream output)
   at RSN.DotP.WadBase.AddAiPersonalityImage(String strFilename, TdxWrapper twImage)
   at RSN.DotP.DeckBuilder.ExportWad(WadBase wad, String strGameDirectory)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
DotP 2014 Deck Builder
    Assembly Version: 1.4.0.0
    Win32 Version: 1.4.0.0
    CodeBase: file:///C:/Users/Wolverstein/Desktop/Magic%202014%20Deck%20Builder/DotP%202014%20Deck%20Builder.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
Gibbed.Duels.FileFormats
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Wolverstein/Desktop/Magic%202014%20Deck%20Builder/Gibbed.Duels.FileFormats.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Gibbed.IO
    Assembly Version: 1.0.4706.36265
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Wolverstein/Desktop/Magic%202014%20Deck%20Builder/Gibbed.IO.DLL
----------------------------------------
ICSharpCode.SharpZipLib
    Assembly Version: 0.86.0.518
    Win32 Version: 0.86.0.518
    CodeBase: file:///C:/Users/Wolverstein/Desktop/Magic%202014%20Deck%20Builder/ICSharpCode.SharpZipLib.DLL
----------------------------------------
Gibbed.Squish
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Wolverstein/Desktop/Magic%202014%20Deck%20Builder/Gibbed.Squish.DLL
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box."
GarrukSmith
 
Posts: 10
Joined: 17 Aug 2014, 17:01
Has thanked: 1 time
Been thanked: 0 time

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby RiiakShiNal » 03 Oct 2014, 10:29

That error is saying that one of the Personality images "is in an invalid format". My immediate guess would be that the image you are trying to use for the large planeswalker personality image is larger than 2000x2000 (or at least one of the dimensions is larger). Try using a smaller image there (the game generally uses images that are 1000x1000 for the large planeswalker image (and will probably scale any image used down to that resolution or smaller).
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby Kithkin » 03 Oct 2014, 12:10

RiiakShiNal wrote:That error is saying that one of the Personality images "is in an invalid format". My immediate guess would be that the image you are trying to use for the large planeswalker personality image is larger than 2000x2000 (or at least one of the dimensions is larger). Try using a smaller image there (the game generally uses images that are 1000x1000 for the large planeswalker image (and will probably scale any image used down to that resolution or smaller).
I would like to chime in. Whenever I use an image, which is exactly 700x700, for the round portrait, I get a similar error message. "Value 0 for Value is not valid. Value should be between 'Minimum' and 'Maximum'. Parametername: Value". Any other dimension is fine, but 700x700 is a no go. Very odd.
User avatar
Kithkin
 
Posts: 456
Joined: 21 Feb 2014, 07:12
Location: Cologne, GERMANY
Has thanked: 11 times
Been thanked: 56 times

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby GarrukSmith » 03 Oct 2014, 16:13

Ahh, thanks Riiak

Yeah, I was creating a deck based off of Vulgrim from Darksiders, and I think the image I used was larger than 2000x2000, but since it was a screenshot from the game, I wanted to make sure it looked clear. Guess I can just re-size the JPEG.
GarrukSmith
 
Posts: 10
Joined: 17 Aug 2014, 17:01
Has thanked: 1 time
Been thanked: 0 time

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby RiiakShiNal » 03 Oct 2014, 22:40

Kithkin wrote:I would like to chime in. Whenever I use an image, which is exactly 700x700, for the round portrait, I get a similar error message. "Value 0 for Value is not valid. Value should be between 'Minimum' and 'Maximum'. Parametername: Value". Any other dimension is fine, but 700x700 is a no go. Very odd.
This I will look into as that shouldn't be happening. Though I do have a question since you said on the round portrait are you using the "Build" or "Load" functionality there?
RiiakShiNal
Programmer
 
Posts: 2185
Joined: 16 May 2011, 21:37
Has thanked: 75 times
Been thanked: 497 times

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby Kithkin » 03 Oct 2014, 22:46

RiiakShiNal wrote:
Kithkin wrote:I would like to chime in. Whenever I use an image, which is exactly 700x700, for the round portrait, I get a similar error message. "Value 0 for Value is not valid. Value should be between 'Minimum' and 'Maximum'. Parametername: Value". Any other dimension is fine, but 700x700 is a no go. Very odd.
This I will look into as that shouldn't be happening. Though I do have a question since you said on the round portrait are you using the "Build" or "Load" functionality there?
"Build".
User avatar
Kithkin
 
Posts: 456
Joined: 21 Feb 2014, 07:12
Location: Cologne, GERMANY
Has thanked: 11 times
Been thanked: 56 times

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby leukeminator » 04 Oct 2014, 17:30

Thank you so much for publishing this mod! I am thankful for all the hard work y'all put into this. One note, though: On Jeskai Ascendancy, the "may" ability is not working. It forces you to draw a card and discard. I just wanted to bring that to your attention, and see if it could be fixed. Once again, thank you!
leukeminator
 
Posts: 1
Joined: 04 Oct 2014, 17:27
Has thanked: 2 times
Been thanked: 0 time

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby NeoAnderson » 04 Oct 2014, 18:52

leukeminator wrote:Thank you so much for publishing this mod! I am thankful for all the hard work y'all put into this. One note, though: On Jeskai Ascendancy, the "may" ability is not working. It forces you to draw a card and discard. I just wanted to bring that to your attention, and see if it could be fixed. Once again, thank you!
Until monday i will be really busy with work, so i will check next week about your mentioned issue, as you can understand a new set of 2 hundred and more cards, is really hard to code and test alone, always something is missing.

Update i just take a quick look to the code of that card and the may block is set to always prompt, so i just suggest to you to check the game options, about the always use optional ability setting. Maybe you have to disable that option.
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby fallenangle » 04 Oct 2014, 20:27

This code should do it. I originally had the same issue with Tejahn's Jeskai Ascendancy, too. Just paste this code over the code in the Jeskai Ascendancy xml, being careful to remove the spaces that may appear before the first line. You'll need Gibbed Tools to unpack and repack the KTK wad, which you can find by searching on the forums here. Here's the code you need. If the May block was already set as always prompt by Neo, then you should just need to change your settings to disable "always use activated abilities." In case there's still a problem, here's a version of Jeskai Ascendancy that I have tested and know is working:

Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="JESKAI_ASCENDANCY_100386571" />
  <CARDNAME text="JESKAI_ASCENDANCY" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Jeskai Ascendancy]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Ascendance jeskaï]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Supremacía jeskai]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Vormacht der Jeskai]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Autorità Jeskai]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[ジェスカイの隆盛]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[제스카이의 지배력]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Возвышение Джеская]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Ascendência Jeskai]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[洁斯凯霸权]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[潔斯凱霸權]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="100386571" />
  <ARTID value="100386571" />
  <ARTIST name="Dan Scott" />
  <CASTING_COST cost="{U}{R}{W}" />
  <TYPE metaname="Enchantment" />
  <EXPANSION value="KTK" />
  <RARITY metaname="R" />
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever you cast a noncreature spell, creatures you control get +1/+1 until end of turn. Untap those creatures.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois que vous lancez un sort non-créature, les créatures que vous contrôlez gagnent +1/+1 jusqu’à la fin du tour. Dégagez ces créatures.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que lances un hechizo que no sea de criatura, las criaturas que controlas obtienen +1/+1 hasta el final del turno. Endereza esas criaturas.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn du einen Nichtkreatur-Zauberspruch wirkst, erhalten Kreaturen, die du kontrollierst, +1/+1 bis zum Ende des Zuges. Enttappe diese Kreaturen.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta lanci una magia non creatura, le creature che controlli prendono +1/+1 fino alla fine del turno. STAPpa quelle creature.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたがクリーチャーでない呪文を1つ唱えるたび、ターン終了時まで、あなたがコントロールするクリーチャーは+1/+1の修整を受ける。それらのクリーチャーをアンタップする。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[당신이 생물이 아닌 주문을 발동할 때마다, 당신이 조종하는 생물들은 턴종료까지 +1/+1을 받는다. 그 생물들을 언탭한다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждый раз, когда вы разыгрываете не являющееся существом заклинание, существа под вашим контролем получают +1/+1 до конца хода. Разверните те существа.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Toda vez que você conjura uma mágica que não seja de criatura, as criaturas que você controla recebem +1/+1 até o final do turno. Desvire aquelas criaturas.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[每当你施放非生物咒语时,由你操控的生物得+1/+1直到回合结束。重置这些生物。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[每當你施放非生物咒語時,由你操控的生物得+1/+1直到回合結束。重置這些生物。]]></LOCALISED_TEXT>
   <TRIGGER value="SPELL_PLAYED" simple_qualifier="objectyoucontrol">
    return  TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE ) == false
    </TRIGGER>
   <FILTER>
    local filter = ClearFilter()
    filter:Add( FE_CARD_INSTANCE, OP_NOT, EffectSource() )
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE  )
    filter:Add( FE_CONTROLLER, OP_IS, EffectController())
    </FILTER>
   <CONTINUOUS_ACTION layer="7C" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:Power_Add( 1 )
       characteristics:Toughness_Add( 1 )
    end
    </CONTINUOUS_ACTION>
   <RESOLUTION_TIME_ACTION filter_id="0">
    if FilteredCard() ~= nil then
        FilteredCard():Untap()
    end
    </RESOLUTION_TIME_ACTION>
   <DURATION simple_duration="UntilEOT" />
  </TRIGGERED_ABILITY>
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever you cast a noncreature spell, you may draw a card. If you do, discard a card.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois que vous lancez un sort non-créature, vous pouvez piocher une carte. Si vous faites ainsi, défaussez-vous d’une carte.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que lances un hechizo que no sea de criatura, puedes robar una carta. Si lo haces, descarta una carta.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn du einen Nichtkreatur-Zauberspruch wirkst, kannst du eine Karte ziehen. Falls du dies tust, wirf eine Karte ab.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta lanci una magia non creatura, puoi pescare una carta. Se lo fai, scarta una carta.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたがクリーチャーでない呪文を1つ唱えるたび、あなたはカードを1枚引いてもよい。そうしたなら、カードを1枚捨てる。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[당신이 생물이 아닌 주문을 발동할 때마다, 당신은 카드 한 장을 뽑을 수 있다. 그렇게 한다면, 카드 한 장을 버린다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждый раз, когда вы разыгрываете не являющееся существом заклинание, вы можете взять карту. Если вы это делаете, сбросьте карту.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Toda vez que conjura uma mágica que não seja de criatura, você pode comprar um card. Se fizer isso, descarte um card.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[每当你施放非生物咒语时,你可以抓一张牌。若你如此作,则弃一张牌。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[每當你施放非生物咒語時,你可以抽一張牌。若你如此作,則棄一張牌。]]></LOCALISED_TEXT>
   <TRIGGER value="SPELL_PLAYED" simple_qualifier="objectyoucontrol">
    return  TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE ) == false
    </TRIGGER>
   <MAY tag="CARD_QUERY_DRAW_A_CARD" always_prompt="1">
         -- AI behaviour
         if (EffectController():Library_Count() &lt; 10) or (EffectController():Hand_Count() &lt; 1) then
            return false
         else
            return true
         end
      </MAY>
      <RESOLUTION_TIME_ACTION>
         EffectController():DrawCards(1)
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local oFilter = ClearFilter()
         oFilter:SetZone( ZONE_HAND, EffectController() )
         EffectController():ChooseItem( "CARD_QUERY_CHOOSE_CARD_TO_DISCARD", EffectDC():Make_Targets( 0 ) )
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local oCard = EffectDC():Get_Targets( 0 ):Get_CardPtr( 0 )
         if (oCard ~= nil) then
            oCard:Discard()
         end
      </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
</CARD_V2>
fallenangle
 
Posts: 319
Joined: 20 Jul 2013, 02:31
Has thanked: 73 times
Been thanked: 41 times

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby NeoAnderson » 04 Oct 2014, 20:31

fallenangle wrote:This code should do it. I originally had the same issue with Tejahn's Jeskai Ascendancy, too. Just paste this code over the code in the Jeskai Ascendancy xml, being careful to remove the spaces that may appear before the first line. You'll need Gibbed Tools to unpack and repack the KTK wad, which you can find by searching on the forums here. Here's the code you need:

Code: Select all
<?xml version="1.0"?>
<CARD_V2 ExportVersion="1">
  <FILENAME text="JESKAI_ASCENDANCY_100386571" />
  <CARDNAME text="JESKAI_ASCENDANCY" />
  <TITLE>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Jeskai Ascendancy]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Ascendance jeskaï]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Supremacía jeskai]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Vormacht der Jeskai]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Autorità Jeskai]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[ジェスカイの隆盛]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[제스카이의 지배력]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Возвышение Джеская]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Ascendência Jeskai]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[洁斯凯霸权]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[潔斯凱霸權]]></LOCALISED_TEXT>
  </TITLE>
  <MULTIVERSEID value="100386571" />
  <ARTID value="100386571" />
  <ARTIST name="Dan Scott" />
  <CASTING_COST cost="{U}{R}{W}" />
  <TYPE metaname="Enchantment" />
  <EXPANSION value="KTK" />
  <RARITY metaname="R" />
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever you cast a noncreature spell, creatures you control get +1/+1 until end of turn. Untap those creatures.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois que vous lancez un sort non-créature, les créatures que vous contrôlez gagnent +1/+1 jusqu’à la fin du tour. Dégagez ces créatures.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que lances un hechizo que no sea de criatura, las criaturas que controlas obtienen +1/+1 hasta el final del turno. Endereza esas criaturas.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn du einen Nichtkreatur-Zauberspruch wirkst, erhalten Kreaturen, die du kontrollierst, +1/+1 bis zum Ende des Zuges. Enttappe diese Kreaturen.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta lanci una magia non creatura, le creature che controlli prendono +1/+1 fino alla fine del turno. STAPpa quelle creature.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたがクリーチャーでない呪文を1つ唱えるたび、ターン終了時まで、あなたがコントロールするクリーチャーは+1/+1の修整を受ける。それらのクリーチャーをアンタップする。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[당신이 생물이 아닌 주문을 발동할 때마다, 당신이 조종하는 생물들은 턴종료까지 +1/+1을 받는다. 그 생물들을 언탭한다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждый раз, когда вы разыгрываете не являющееся существом заклинание, существа под вашим контролем получают +1/+1 до конца хода. Разверните те существа.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Toda vez que você conjura uma mágica que não seja de criatura, as criaturas que você controla recebem +1/+1 até o final do turno. Desvire aquelas criaturas.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[每当你施放非生物咒语时,由你操控的生物得+1/+1直到回合结束。重置这些生物。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[每當你施放非生物咒語時,由你操控的生物得+1/+1直到回合結束。重置這些生物。]]></LOCALISED_TEXT>
   <TRIGGER value="SPELL_PLAYED" simple_qualifier="objectyoucontrol">
    return  TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE ) == false
    </TRIGGER>
   <FILTER>
    local filter = ClearFilter()
    filter:Add( FE_CARD_INSTANCE, OP_NOT, EffectSource() )
    filter:Add( FE_TYPE, OP_IS, CARD_TYPE_CREATURE  )
    filter:Add( FE_CONTROLLER, OP_IS, EffectController())
    </FILTER>
   <CONTINUOUS_ACTION layer="7C" filter_id="0">
    if FilteredCard() ~= nil then
       local characteristics = FilteredCard():GetCurrentCharacteristics()
       characteristics:Power_Add( 1 )
       characteristics:Toughness_Add( 1 )
    end
    </CONTINUOUS_ACTION>
   <RESOLUTION_TIME_ACTION filter_id="0">
    if FilteredCard() ~= nil then
        FilteredCard():Untap()
    end
    </RESOLUTION_TIME_ACTION>
   <DURATION simple_duration="UntilEOT" />
  </TRIGGERED_ABILITY>
  <TRIGGERED_ABILITY>
    <LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever you cast a noncreature spell, you may draw a card. If you do, discard a card.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois que vous lancez un sort non-créature, vous pouvez piocher une carte. Si vous faites ainsi, défaussez-vous d’une carte.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que lances un hechizo que no sea de criatura, puedes robar una carta. Si lo haces, descarta una carta.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn du einen Nichtkreatur-Zauberspruch wirkst, kannst du eine Karte ziehen. Falls du dies tust, wirf eine Karte ab.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta lanci una magia non creatura, puoi pescare una carta. Se lo fai, scarta una carta.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたがクリーチャーでない呪文を1つ唱えるたび、あなたはカードを1枚引いてもよい。そうしたなら、カードを1枚捨てる。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[당신이 생물이 아닌 주문을 발동할 때마다, 당신은 카드 한 장을 뽑을 수 있다. 그렇게 한다면, 카드 한 장을 버린다.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Каждый раз, когда вы разыгрываете не являющееся существом заклинание, вы можете взять карту. Если вы это делаете, сбросьте карту.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Toda vez que conjura uma mágica que não seja de criatura, você pode comprar um card. Se fizer isso, descarte um card.]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-CN"><![CDATA[每当你施放非生物咒语时,你可以抓一张牌。若你如此作,则弃一张牌。]]></LOCALISED_TEXT>
    <LOCALISED_TEXT LanguageCode="zh-HK"><![CDATA[每當你施放非生物咒語時,你可以抽一張牌。若你如此作,則棄一張牌。]]></LOCALISED_TEXT>
   <TRIGGER value="SPELL_PLAYED" simple_qualifier="objectyoucontrol">
    return  TriggerObject():GetCardType():Test( CARD_TYPE_CREATURE ) == false
    </TRIGGER>
   <MAY tag="CARD_QUERY_DRAW_A_CARD" always_prompt="1">
         -- AI behaviour
         if (EffectController():Library_Count() &lt; 10) or (EffectController():Hand_Count() &lt; 1) then
            return false
         else
            return true
         end
      </MAY>
      <RESOLUTION_TIME_ACTION>
         EffectController():DrawCards(1)
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local oFilter = ClearFilter()
         oFilter:SetZone( ZONE_HAND, EffectController() )
         EffectController():ChooseItem( "CARD_QUERY_CHOOSE_CARD_TO_DISCARD", EffectDC():Make_Targets( 0 ) )
      </RESOLUTION_TIME_ACTION>
      <RESOLUTION_TIME_ACTION>
         local oCard = EffectDC():Get_Targets( 0 ):Get_CardPtr( 0 )
         if (oCard ~= nil) then
            oCard:Discard()
         end
      </RESOLUTION_TIME_ACTION>
  </TRIGGERED_ABILITY>
</CARD_V2>
My card already have that may block, the problem is if you set the game to always use positive optional abilities, it will not ask if you want to draw the card.
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

Re: MTG - KHANS OF TARKIR - COMPLETE SET - RELEASED

Postby NeoAnderson » 07 Oct 2014, 07:02

I can confirm that my version of Jeskai Ascendancy is full working, the optional draw question is displayed. So it depends how you set the main game option about Optional abilities.
NeoAnderson
 
Posts: 914
Joined: 10 Sep 2013, 07:49
Has thanked: 18 times
Been thanked: 139 times

PreviousNext

Return to 2014

Who is online

Users browsing this forum: No registered users and 45 guests


Who is online

In total there are 45 users online :: 0 registered, 0 hidden and 45 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 45 guests

Login Form