Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
New MTG Cards and Decks (2010, 2012, 2013, 2014, 2015, Magic Duels)
2014




Volrathxp's Custom Dotp 2014 DLC (Last Update: 12/6/2014)
Moderator: CCGHQ Admins
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by NeoAnderson » 29 Sep 2014, 20:24
Test my card posted here :http://www.slightlymagic.net/forum/viewtopic.php?f=63&t=15598#p162679if it works as expected there is something wrong inside the version you are trying.Kithkin wrote:Thanks for the clarification. As I said, what you describe as step 3 does not work in VXP's deck.
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by volrathxp » 29 Sep 2014, 20:25
I don't know why. I tested Murderous Cut several times and it functioned as Neo described.Kithkin wrote:Thanks for the clarification. As I said, what you describe as step 3 does not work in VXP's deck.
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by volrathxp » 29 Sep 2014, 20:27
Kheru Lich Lord: Not sure, followed any other randomized card.Kithkin wrote:Well, the problem is that you can only select one card from the graveyard, but the card does not move into exile.Other delve cards have the same issue.
[lua] [string "KHERU_LICH_LORD_1000386580_TITLE (RESOLUTION_TIME_ACTION)~0x0000059f"]:4: parameter mismatch or too few parameters [expected bzS32]
[lua] [string "KHERU_LICH_LORD_1000386580_TITLE (RESOLUTION_TIME_ACTION)~0x000005a1"]:2: attempt to index a nil value
- Kheru Lich Lord | Open
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="KHERU_LICH_LORD_1000386580" />
<CARDNAME text="KHERU_LICH_LORD" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Kheru Lich Lord]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Seigneur liche de Kheru]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Señor liche de Kheru]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Kheru-Lichfürst]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Signore dei Lich di Kheru]]></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[Senhor Lich de Kheru]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="1000386580" />
<ARTID value="1000386580" />
<ARTIST name="Karl Kopinski" />
<CASTING_COST cost="{3}{B}{G}{U}" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Zombie" />
<SUB_TYPE metaname="Wizard" />
<EXPANSION value="KTK" />
<RARITY metaname="R" />
<POWER value="4" />
<TOUGHNESS value="4" />
<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of your upkeep, you may pay {2}{B}. If you do, return a creature card at random from your graveyard to the battlefield. It gains flying, trample, and haste. Exile that card at the beginning of your next end step. If it would leave the battlefield, exile it instead of putting it anywhere else.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Au début de votre entretien, vous pouvez payer {2}{B}. Si vous faites ainsi, renvoyez sur le champ de bataille une carte de créature choisie au hasard depuis votre cimetière. Elle acquiert le vol, le piétinement et la célérité. Exilez cette carte au début de votre prochaine étape de fin. Si elle devait quitter le champ de bataille, exilez-la à la place de la mettre autre part.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Al comienzo de tu mantenimiento, puedes pagar {2}{B}. Si lo haces, regresa una carta de criatura al azar de tu cementerio al campo de batalla. Gana las habilidades de volar, arrollar y prisa. Exilia esa carta al comienzo de tu próximo paso final. Si fuera a dejar el campo de batalla, exíliala en vez de ponerla en cualquier otro lado.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Zu Beginn deines Versorgungssegments kannst du {2}{B} bezahlen. Falls du dies tust, bringe eine zufällig bestimmte Kreaturenkarte aus deinem Friedhof ins Spiel zurück. Sie verursacht Trampelschaden und erhält Flugfähigkeit und Eile. Schicke diese Karte zu Beginn deines nächsten Endsegments ins Exil. Falls sie das Spiel verlassen würde, schicke sie ins Exil, anstatt sie irgendwo anders hinzulegen.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All’inizio del tuo mantenimento, puoi pagare {2}{B}. Se lo fai, rimetti sul campo di battaglia una carta creatura a caso dal tuo cimitero. Ha volare, travolgere e rapidità. Esilia quella carta all’inizio della tua prossima sottofase finale. Se sta per lasciare il campo di battaglia, esiliala invece di metterla in qualsiasi altra zona.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたのアップキープの開始時に、あなたは{2}{B}を支払ってもよい。そうしたなら、あなたの墓地にあるクリーチャー・カードを1枚無作為に選んで戦場に戻す。それは飛行とトランプルと速攻を得る。次のあなたの終了ステップの開始時に、そのカードを追放する。それが戦場を離れるなら、それを他のいずれかの領域に置く代わりにそれを追放する。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[당신의 유지단 시작에, 당신은 {2}{B}를 지불할 수 있다. 그렇게 한다면, 당신의 무덤에 있는 생물 카드 한 장을 무작위로 전장으로 되돌린다. 그 생물은 비행과 돌진, 신속을 얻는다. 당신의 다음 종료단 시작에, 그 카드를 추방한다. 그 생물이 전장을 떠나려 한다면, 다른 곳에 놓는 대신에 그 생물을 추방한다.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[В начале вашего шага поддержки вы можете заплатить {2}{B}. Если вы это делаете, верните выбранную случайным образом карту существа из вашего кладбища на поле битвы. Она получает Полет, Пробивной удар и Ускорение. Изгоните ту карту в начале вашего следующего заключительного шага. Если она должна покинуть поле битвы, изгоните ее вместо того, чтобы поместить в какую-либо другую зону.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[No início de sua manutenção, você pode pagar {2}{B}. Se fizer isso, devolva um card de criatura aleatório do seu cemitério para o campo de batalha. Ele ganha voar, atropelar e ímpeto. Exile aquele card no início da sua próxima etapa final. Se ele for deixar o campo de batalha, em vez de colocá-lo em qualquer outro lugar, exile-o.]]></LOCALISED_TEXT>
<TRIGGER value="BEGINNING_OF_PLAYERS_STEP" simple_qualifier="controller">
return MTG():GetStep() == STEP_UPKEEP
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local effectController = EffectController()
if effectController ~= nil then
if effectController:CanPayManaCost("{2}{B}") then
effectController:BeginNewMultipleChoice()
effectController:AddMultipleChoiceAnswer( "CARD_QUERY_PAY_2B" )
effectController:AddMultipleChoiceAnswer( "CARD_QUERY_DO_NOT_PAY_2B" )
effectController:AskMultipleChoiceQuestion( "CARD_QUERY_KHERU_LICH_QUESTION" )
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local filter = ClearFilter()
filter:SetZone( ZONE_GRAVEYARD, EffectController() )
filter:Add( FE_CARD_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:EvaluateObjects()
EffectDC():Make_Targets(0):Set_CardPtr(0, filter:GetRandomEvaluatedObject())
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local controller = EffectController()
if controller ~= nil and controller:CanPayManaCost("{2}{B}") and controller:GetMultipleChoiceResult() == 0 then
controller:PayManaCost("{2}{B}")
local target_creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target_creature ~= nil then
EffectDC():Get_Targets(0):Protect_CardPtr(0)
target_creature:PutOntoBattlefield(EffectController())
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
if creature ~= nil then
local delayDC = EffectDC():Make_Targets(1)
delayDC:Set_CardPtr(0, creature)
MTG():CreateDelayedTrigger( 2, delayDC)
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
if creature ~= nil then
local delayDC = EffectDC():Make_Targets(2)
delayDC:Set_CardPtr(0, creature)
MTG():CreateDelayedTrigger( 3, delayDC)
end
</RESOLUTION_TIME_ACTION>
<CONTINUOUS_ACTION layer="6">
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
local characteristics = target:GetCurrentCharacteristics()
characteristics:Bool_Set(CHARACTERISTIC_HASTE, 1)
characteristics:Bool_Set(CHARACTERISTIC_FLYING, 1)
characteristics:Bool_Set(CHARACTERISTIC_TRAMPLE, 1)
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="UntilEOT" />
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY resource_id="2">
<TRIGGER value="BEGINNING_OF_STEP">
return MTG():GetStep() == STEP_END_OF_TURN
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_CardPtr(0)
if target ~= nil then
target:Exile()
end
</RESOLUTION_TIME_ACTION>
<CLEANUP fire_once="1" />
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY replacement_effect="1" resource_id="3">
<TRIGGER value="ZONECHANGE_CONSIDERED" to_zone="ZONE_ANY" from_zone="ZONE_BATTLEFIELD" pre_trigger="1">
if TriggerObject() == EffectDC():Get_CardPtr(0) and (GetToZone() ~= ZONE_EXILE) then
MTG():OverrideEvent()
return true
else
return false
end
</TRIGGER>
<RESOLUTION_TIME_ACTION>
if TriggerObject() ~= nil then
TriggerObject():Exile()
end
</RESOLUTION_TIME_ACTION>
<CLEANUP fire_once="1" />
</TRIGGERED_ABILITY>
<SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
<SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by NeoAnderson » 29 Sep 2014, 20:31
Probably there is something missing into functions, my delve implemenation uses some custom functions, for this reason you should wait my final release before to make other cards, otherwise if you just grab functions and include them into your mod it could cause conflicts with my wad. Is always better to avoid functions duplicates.volrathxp wrote:I don't know why. I tested Murderous Cut several times and it functioned as Neo described.Kithkin wrote:Thanks for the clarification. As I said, what you describe as step 3 does not work in VXP's deck.
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by volrathxp » 29 Sep 2014, 20:36
I included the relevant functions, based on the Delve implementation you posted in the other forum.NeoAnderson wrote:Probably there is something missing into functions, my delve implemenation uses some custom functions, for this reason you should wait my final release before to make other cards, otherwise if you just grab functions and include them into your mod it could cause conflicts with my wad. Is always better to avoid functions duplicates.volrathxp wrote:I don't know why. I tested Murderous Cut several times and it functioned as Neo described.Kithkin wrote:Thanks for the clarification. As I said, what you describe as step 3 does not work in VXP's deck.
At this point, I believe that's all the Delve cards besides Empty the Pits, so no worries. I can wait for the final release to have the relevant function code.
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by NeoAnderson » 29 Sep 2014, 20:37
when you set delayDC you have to usevolrathxp wrote:Kheru Lich Lord: Not sure, followed any other randomized card.Kithkin wrote:Well, the problem is that you can only select one card from the graveyard, but the card does not move into exile.Other delve cards have the same issue.
[lua] [string "KHERU_LICH_LORD_1000386580_TITLE (RESOLUTION_TIME_ACTION)~0x0000059f"]:4: parameter mismatch or too few parameters [expected bzS32]
[lua] [string "KHERU_LICH_LORD_1000386580_TITLE (RESOLUTION_TIME_ACTION)~0x000005a1"]:2: attempt to index a nil value
- Kheru Lich Lord | Open
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="KHERU_LICH_LORD_1000386580" />
<CARDNAME text="KHERU_LICH_LORD" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Kheru Lich Lord]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Seigneur liche de Kheru]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Señor liche de Kheru]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Kheru-Lichfürst]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Signore dei Lich di Kheru]]></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[Senhor Lich de Kheru]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="1000386580" />
<ARTID value="1000386580" />
<ARTIST name="Karl Kopinski" />
<CASTING_COST cost="{3}{B}{G}{U}" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Zombie" />
<SUB_TYPE metaname="Wizard" />
<EXPANSION value="KTK" />
<RARITY metaname="R" />
<POWER value="4" />
<TOUGHNESS value="4" />
<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of your upkeep, you may pay {2}{B}. If you do, return a creature card at random from your graveyard to the battlefield. It gains flying, trample, and haste. Exile that card at the beginning of your next end step. If it would leave the battlefield, exile it instead of putting it anywhere else.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Au début de votre entretien, vous pouvez payer {2}{B}. Si vous faites ainsi, renvoyez sur le champ de bataille une carte de créature choisie au hasard depuis votre cimetière. Elle acquiert le vol, le piétinement et la célérité. Exilez cette carte au début de votre prochaine étape de fin. Si elle devait quitter le champ de bataille, exilez-la à la place de la mettre autre part.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Al comienzo de tu mantenimiento, puedes pagar {2}{B}. Si lo haces, regresa una carta de criatura al azar de tu cementerio al campo de batalla. Gana las habilidades de volar, arrollar y prisa. Exilia esa carta al comienzo de tu próximo paso final. Si fuera a dejar el campo de batalla, exíliala en vez de ponerla en cualquier otro lado.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Zu Beginn deines Versorgungssegments kannst du {2}{B} bezahlen. Falls du dies tust, bringe eine zufällig bestimmte Kreaturenkarte aus deinem Friedhof ins Spiel zurück. Sie verursacht Trampelschaden und erhält Flugfähigkeit und Eile. Schicke diese Karte zu Beginn deines nächsten Endsegments ins Exil. Falls sie das Spiel verlassen würde, schicke sie ins Exil, anstatt sie irgendwo anders hinzulegen.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All’inizio del tuo mantenimento, puoi pagare {2}{B}. Se lo fai, rimetti sul campo di battaglia una carta creatura a caso dal tuo cimitero. Ha volare, travolgere e rapidità. Esilia quella carta all’inizio della tua prossima sottofase finale. Se sta per lasciare il campo di battaglia, esiliala invece di metterla in qualsiasi altra zona.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたのアップキープの開始時に、あなたは{2}{B}を支払ってもよい。そうしたなら、あなたの墓地にあるクリーチャー・カードを1枚無作為に選んで戦場に戻す。それは飛行とトランプルと速攻を得る。次のあなたの終了ステップの開始時に、そのカードを追放する。それが戦場を離れるなら、それを他のいずれかの領域に置く代わりにそれを追放する。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[당신의 유지단 시작에, 당신은 {2}{B}를 지불할 수 있다. 그렇게 한다면, 당신의 무덤에 있는 생물 카드 한 장을 무작위로 전장으로 되돌린다. 그 생물은 비행과 돌진, 신속을 얻는다. 당신의 다음 종료단 시작에, 그 카드를 추방한다. 그 생물이 전장을 떠나려 한다면, 다른 곳에 놓는 대신에 그 생물을 추방한다.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[В начале вашего шага поддержки вы можете заплатить {2}{B}. Если вы это делаете, верните выбранную случайным образом карту существа из вашего кладбища на поле битвы. Она получает Полет, Пробивной удар и Ускорение. Изгоните ту карту в начале вашего следующего заключительного шага. Если она должна покинуть поле битвы, изгоните ее вместо того, чтобы поместить в какую-либо другую зону.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[No início de sua manutenção, você pode pagar {2}{B}. Se fizer isso, devolva um card de criatura aleatório do seu cemitério para o campo de batalha. Ele ganha voar, atropelar e ímpeto. Exile aquele card no início da sua próxima etapa final. Se ele for deixar o campo de batalha, em vez de colocá-lo em qualquer outro lugar, exile-o.]]></LOCALISED_TEXT>
<TRIGGER value="BEGINNING_OF_PLAYERS_STEP" simple_qualifier="controller">
return MTG():GetStep() == STEP_UPKEEP
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local effectController = EffectController()
if effectController ~= nil then
if effectController:CanPayManaCost("{2}{B}") then
effectController:BeginNewMultipleChoice()
effectController:AddMultipleChoiceAnswer( "CARD_QUERY_PAY_2B" )
effectController:AddMultipleChoiceAnswer( "CARD_QUERY_DO_NOT_PAY_2B" )
effectController:AskMultipleChoiceQuestion( "CARD_QUERY_KHERU_LICH_QUESTION" )
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local filter = ClearFilter()
filter:SetZone( ZONE_GRAVEYARD, EffectController() )
filter:Add( FE_CARD_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:EvaluateObjects()
EffectDC():Make_Targets(0):Set_CardPtr(0, filter:GetRandomEvaluatedObject())
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local controller = EffectController()
if controller ~= nil and controller:CanPayManaCost("{2}{B}") and controller:GetMultipleChoiceResult() == 0 then
controller:PayManaCost("{2}{B}")
local target_creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target_creature ~= nil then
EffectDC():Get_Targets(0):Protect_CardPtr(0)
target_creature:PutOntoBattlefield(EffectController())
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
if creature ~= nil then
local delayDC = EffectDC():Make_Targets(1)
delayDC:Set_CardPtr(0, creature)
MTG():CreateDelayedTrigger( 2, delayDC)
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
if creature ~= nil then
local delayDC = EffectDC():Make_Targets(2)
delayDC:Set_CardPtr(0, creature)
MTG():CreateDelayedTrigger( 3, delayDC)
end
</RESOLUTION_TIME_ACTION>
<CONTINUOUS_ACTION layer="6">
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
local characteristics = target:GetCurrentCharacteristics()
characteristics:Bool_Set(CHARACTERISTIC_HASTE, 1)
characteristics:Bool_Set(CHARACTERISTIC_FLYING, 1)
characteristics:Bool_Set(CHARACTERISTIC_TRAMPLE, 1)
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="UntilEOT" />
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY resource_id="2">
<TRIGGER value="BEGINNING_OF_STEP">
return MTG():GetStep() == STEP_END_OF_TURN
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_CardPtr(0)
if target ~= nil then
target:Exile()
end
</RESOLUTION_TIME_ACTION>
<CLEANUP fire_once="1" />
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY replacement_effect="1" resource_id="3">
<TRIGGER value="ZONECHANGE_CONSIDERED" to_zone="ZONE_ANY" from_zone="ZONE_BATTLEFIELD" pre_trigger="1">
if TriggerObject() == EffectDC():Get_CardPtr(0) and (GetToZone() ~= ZONE_EXILE) then
MTG():OverrideEvent()
return true
else
return false
end
</TRIGGER>
<RESOLUTION_TIME_ACTION>
if TriggerObject() ~= nil then
TriggerObject():Exile()
end
</RESOLUTION_TIME_ACTION>
<CLEANUP fire_once="1" />
</TRIGGERED_ABILITY>
<SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
<SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
- Code: Select all
local delayDC = EffectDC():Make_Chest(1)
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by volrathxp » 29 Sep 2014, 20:42
Ahh. k. Got it.NeoAnderson wrote:when you set delayDC you have to usevolrathxp wrote:Kheru Lich Lord: Not sure, followed any other randomized card.Kithkin wrote:Well, the problem is that you can only select one card from the graveyard, but the card does not move into exile.Other delve cards have the same issue.
[lua] [string "KHERU_LICH_LORD_1000386580_TITLE (RESOLUTION_TIME_ACTION)~0x0000059f"]:4: parameter mismatch or too few parameters [expected bzS32]
[lua] [string "KHERU_LICH_LORD_1000386580_TITLE (RESOLUTION_TIME_ACTION)~0x000005a1"]:2: attempt to index a nil value
- Kheru Lich Lord | Open
- Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<CARD_V2 ExportVersion="1">
<FILENAME text="KHERU_LICH_LORD_1000386580" />
<CARDNAME text="KHERU_LICH_LORD" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Kheru Lich Lord]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Seigneur liche de Kheru]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Señor liche de Kheru]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Kheru-Lichfürst]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Signore dei Lich di Kheru]]></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[Senhor Lich de Kheru]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="1000386580" />
<ARTID value="1000386580" />
<ARTIST name="Karl Kopinski" />
<CASTING_COST cost="{3}{B}{G}{U}" />
<TYPE metaname="Creature" />
<SUB_TYPE metaname="Zombie" />
<SUB_TYPE metaname="Wizard" />
<EXPANSION value="KTK" />
<RARITY metaname="R" />
<POWER value="4" />
<TOUGHNESS value="4" />
<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[At the beginning of your upkeep, you may pay {2}{B}. If you do, return a creature card at random from your graveyard to the battlefield. It gains flying, trample, and haste. Exile that card at the beginning of your next end step. If it would leave the battlefield, exile it instead of putting it anywhere else.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Au début de votre entretien, vous pouvez payer {2}{B}. Si vous faites ainsi, renvoyez sur le champ de bataille une carte de créature choisie au hasard depuis votre cimetière. Elle acquiert le vol, le piétinement et la célérité. Exilez cette carte au début de votre prochaine étape de fin. Si elle devait quitter le champ de bataille, exilez-la à la place de la mettre autre part.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Al comienzo de tu mantenimiento, puedes pagar {2}{B}. Si lo haces, regresa una carta de criatura al azar de tu cementerio al campo de batalla. Gana las habilidades de volar, arrollar y prisa. Exilia esa carta al comienzo de tu próximo paso final. Si fuera a dejar el campo de batalla, exíliala en vez de ponerla en cualquier otro lado.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Zu Beginn deines Versorgungssegments kannst du {2}{B} bezahlen. Falls du dies tust, bringe eine zufällig bestimmte Kreaturenkarte aus deinem Friedhof ins Spiel zurück. Sie verursacht Trampelschaden und erhält Flugfähigkeit und Eile. Schicke diese Karte zu Beginn deines nächsten Endsegments ins Exil. Falls sie das Spiel verlassen würde, schicke sie ins Exil, anstatt sie irgendwo anders hinzulegen.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[All’inizio del tuo mantenimento, puoi pagare {2}{B}. Se lo fai, rimetti sul campo di battaglia una carta creatura a caso dal tuo cimitero. Ha volare, travolgere e rapidità. Esilia quella carta all’inizio della tua prossima sottofase finale. Se sta per lasciare il campo di battaglia, esiliala invece di metterla in qualsiasi altra zona.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたのアップキープの開始時に、あなたは{2}{B}を支払ってもよい。そうしたなら、あなたの墓地にあるクリーチャー・カードを1枚無作為に選んで戦場に戻す。それは飛行とトランプルと速攻を得る。次のあなたの終了ステップの開始時に、そのカードを追放する。それが戦場を離れるなら、それを他のいずれかの領域に置く代わりにそれを追放する。]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[당신의 유지단 시작에, 당신은 {2}{B}를 지불할 수 있다. 그렇게 한다면, 당신의 무덤에 있는 생물 카드 한 장을 무작위로 전장으로 되돌린다. 그 생물은 비행과 돌진, 신속을 얻는다. 당신의 다음 종료단 시작에, 그 카드를 추방한다. 그 생물이 전장을 떠나려 한다면, 다른 곳에 놓는 대신에 그 생물을 추방한다.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[В начале вашего шага поддержки вы можете заплатить {2}{B}. Если вы это делаете, верните выбранную случайным образом карту существа из вашего кладбища на поле битвы. Она получает Полет, Пробивной удар и Ускорение. Изгоните ту карту в начале вашего следующего заключительного шага. Если она должна покинуть поле битвы, изгоните ее вместо того, чтобы поместить в какую-либо другую зону.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[No início de sua manutenção, você pode pagar {2}{B}. Se fizer isso, devolva um card de criatura aleatório do seu cemitério para o campo de batalha. Ele ganha voar, atropelar e ímpeto. Exile aquele card no início da sua próxima etapa final. Se ele for deixar o campo de batalha, em vez de colocá-lo em qualquer outro lugar, exile-o.]]></LOCALISED_TEXT>
<TRIGGER value="BEGINNING_OF_PLAYERS_STEP" simple_qualifier="controller">
return MTG():GetStep() == STEP_UPKEEP
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local effectController = EffectController()
if effectController ~= nil then
if effectController:CanPayManaCost("{2}{B}") then
effectController:BeginNewMultipleChoice()
effectController:AddMultipleChoiceAnswer( "CARD_QUERY_PAY_2B" )
effectController:AddMultipleChoiceAnswer( "CARD_QUERY_DO_NOT_PAY_2B" )
effectController:AskMultipleChoiceQuestion( "CARD_QUERY_KHERU_LICH_QUESTION" )
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local filter = ClearFilter()
filter:SetZone( ZONE_GRAVEYARD, EffectController() )
filter:Add( FE_CARD_TYPE, OP_IS, CARD_TYPE_CREATURE )
filter:EvaluateObjects()
EffectDC():Make_Targets(0):Set_CardPtr(0, filter:GetRandomEvaluatedObject())
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local controller = EffectController()
if controller ~= nil and controller:CanPayManaCost("{2}{B}") and controller:GetMultipleChoiceResult() == 0 then
controller:PayManaCost("{2}{B}")
local target_creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target_creature ~= nil then
EffectDC():Get_Targets(0):Protect_CardPtr(0)
target_creature:PutOntoBattlefield(EffectController())
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
if creature ~= nil then
local delayDC = EffectDC():Make_Targets(1)
delayDC:Set_CardPtr(0, creature)
MTG():CreateDelayedTrigger( 2, delayDC)
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local creature = EffectDC():Get_Targets(0):Get_CardPtr(0)
if creature ~= nil then
local delayDC = EffectDC():Make_Targets(2)
delayDC:Set_CardPtr(0, creature)
MTG():CreateDelayedTrigger( 3, delayDC)
end
</RESOLUTION_TIME_ACTION>
<CONTINUOUS_ACTION layer="6">
local target = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target ~= nil then
local characteristics = target:GetCurrentCharacteristics()
characteristics:Bool_Set(CHARACTERISTIC_HASTE, 1)
characteristics:Bool_Set(CHARACTERISTIC_FLYING, 1)
characteristics:Bool_Set(CHARACTERISTIC_TRAMPLE, 1)
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="UntilEOT" />
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY resource_id="2">
<TRIGGER value="BEGINNING_OF_STEP">
return MTG():GetStep() == STEP_END_OF_TURN
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local target = EffectDC():Get_CardPtr(0)
if target ~= nil then
target:Exile()
end
</RESOLUTION_TIME_ACTION>
<CLEANUP fire_once="1" />
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY replacement_effect="1" resource_id="3">
<TRIGGER value="ZONECHANGE_CONSIDERED" to_zone="ZONE_ANY" from_zone="ZONE_BATTLEFIELD" pre_trigger="1">
if TriggerObject() == EffectDC():Get_CardPtr(0) and (GetToZone() ~= ZONE_EXILE) then
MTG():OverrideEvent()
return true
else
return false
end
</TRIGGER>
<RESOLUTION_TIME_ACTION>
if TriggerObject() ~= nil then
TriggerObject():Exile()
end
</RESOLUTION_TIME_ACTION>
<CLEANUP fire_once="1" />
</TRIGGERED_ABILITY>
<SFX text="COMBAT_BLUNT_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
<SFX text="COMBAT_BLUNT_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
- Code: Select all
local delayDC = EffectDC():Make_Chest(1)
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by Kithkin » 29 Sep 2014, 21:04
It's not only Murderous Cut, but all delve cards in the deck. Well, it seems I have to wait if somebody else reports the same issue.
In the meantime:
[lua] [string "DEAD_DROP_1000386512_TITLE (RESOLUTION_TIME_ACTION)~0x000002af"]:2: attempt to call global RSN_Characteristics_CreateManagers' (a nil value)
In the meantime:
[lua] [string "DEAD_DROP_1000386512_TITLE (RESOLUTION_TIME_ACTION)~0x000002af"]:2: attempt to call global RSN_Characteristics_CreateManagers' (a nil value)
-
Kithkin - Posts: 456
- Joined: 21 Feb 2014, 07:12
- Location: Cologne, GERMANY
- Has thanked: 11 times
- Been thanked: 56 times
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by volrathxp » 29 Sep 2014, 21:09
Ah, I think I see the crux of the issue. You need RSN's Object DC installed, linked here:Kithkin wrote:It's not only Murderous Cut, but all delve cards in the deck. Well, it seems I have to wait if somebody else reports the same issue.
In the meantime:
[lua] [string "DEAD_DROP_1000386512_TITLE (RESOLUTION_TIME_ACTION)~0x000002af"]:2: attempt to call global RSN_Characteristics_CreateManagers' (a nil value)
http://mtg.dragonanime.org/images/c/c0/ ... jectDC.wad
Edit: Added this to the original post.
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by NeoAnderson » 29 Sep 2014, 21:10
I said to test that card because i released that card.Kithkin wrote:It's not only Murderous Cut, but all delve cards in the deck. Well, it seems I have to wait if somebody else reports the same issue.
In the meantime:
[lua] [string "DEAD_DROP_1000386512_TITLE (RESOLUTION_TIME_ACTION)~0x000002af"]:2: attempt to call global RSN_Characteristics_CreateManagers' (a nil value)
Anyway it seems you haven't installed RiiakShiNal characteristics functions.
You can find it here http://mtg.dragonanime.org/images/0/03/Data_DLC_8192_Characteristics.wad
- NeoAnderson
- Posts: 914
- Joined: 10 Sep 2013, 07:49
- Has thanked: 18 times
- Been thanked: 139 times
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by volrathxp » 29 Sep 2014, 21:26
I've personally tested:NeoAnderson wrote:I said to test that card because i released that card.Kithkin wrote:It's not only Murderous Cut, but all delve cards in the deck. Well, it seems I have to wait if somebody else reports the same issue.
In the meantime:
[lua] [string "DEAD_DROP_1000386512_TITLE (RESOLUTION_TIME_ACTION)~0x000002af"]:2: attempt to call global RSN_Characteristics_CreateManagers' (a nil value)
Anyway it seems you haven't installed RiiakShiNal characteristics functions.
You can find it here http://mtg.dragonanime.org/images/0/03/Data_DLC_8192_Characteristics.wad
Treasure Cruise
Dead Drop
Murderous Cut
All three work pretty much perfectly.
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by volrathxp » 29 Sep 2014, 21:43
Posted a bugfix update + custom text update.
Also, can I say how much fun the Jeskai Ascendancy deck is? I may have to build it for standard, it's so goofy.
Also, can I say how much fun the Jeskai Ascendancy deck is? I may have to build it for standard, it's so goofy.
volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by Kithkin » 29 Sep 2014, 21:51
Now that I have the Characteristics.wad installed, everything work as intended.
This needs to be included into the original post!

This needs to be included into the original post!
-
Kithkin - Posts: 456
- Joined: 21 Feb 2014, 07:12
- Location: Cologne, GERMANY
- Has thanked: 11 times
- Been thanked: 56 times
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by volrathxp » 29 Sep 2014, 21:53
I updated it to include this.Kithkin wrote:Now that I have the Characteristics.wad installed, everything work as intended.![]()
This needs to be included into the original post!

volrathxp
Re: Volrathxp's Custom Dotp 2014 DLC (Last Update: 9/29/2014
by Kithkin » 29 Sep 2014, 22:00
No, no. You need Characteristics.wad. Without it, the cards won't work!!!!!!!!!!!!!
-
Kithkin - Posts: 456
- Joined: 21 Feb 2014, 07:12
- Location: Cologne, GERMANY
- Has thanked: 11 times
- Been thanked: 56 times
Who is online
Users browsing this forum: No registered users and 10 guests