Board index
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk
Programs with AI or Rules Enforcement
Magic: The Gathering - Duels of the Planeswalkers
Programming Talk
Report cards error here
Moderator: CCGHQ Admins
Re: Report cards error here
by AriesKiki » 11 Mar 2013, 18:14
Some cards work and some doesn't, like Keiga, the Tide Star, Forked Bolt, Arc Trail and Cackling Fiend. The rest work fine.
Re: Report cards error here
by thefiremind » 11 Mar 2013, 19:40
I'll try to be more clear...AriesKiki wrote:Some cards work and some doesn't, like Keiga, the Tide Star, Forked Bolt, Arc Trail and Cackling Fiend. The rest work fine.
This is one of the reports that you can find in the SCRIPT_LOG.TXT you attached:
But if I look in the cards.zip you attached before, I see that a copy of Forked Bolt called FORKED_BOLT_623828.SCRIPT_LOG.TXT wrote:[lua] [string "FORKED_BOLT_243044_TITLE (TARGET_DETERMINATION) [927]"]:6: attempt to call method 'SetNeutral' (a nil value)
What does that mean? It means that you are playing with version of the cards that are different from the ones you posted, much likely the same cards used by DotP2012 with no modifications at all.
The only thing you should do is to look at the deck list you are using, find
FORKED_BOLT_243044
and substitute it with
FORKED_BOLT_623828
then do the same for the other cards.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-

thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Report cards error here
by NEMESiS » 11 Mar 2013, 20:44
I tested Cackling Fiend and Arc Trail and they work fine. Thefiremind seems to be right, the game is loading the incorrect card, just double check the names.
-

NEMESiS - Posts: 460
- Joined: 03 Jan 2013, 04:02
- Location: Pools of Becoming
- Has thanked: 70 times
- Been thanked: 21 times
Re: Report cards error here
by AriesKiki » 11 Mar 2013, 21:57
Yes, I tested all these cards right now and they work fine. Always was my mistake. Thanks a lot, both of you.
Re: Report cards error here
by AriesKiki » 19 Mar 2013, 15:52
I'm having problems with Armadillo Cloak, specifically with the life gain when deal damage, here is the xml that I'm using. Thanks.
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="ARMADILLO_CLOAK_244905" />
<CARDNAME text="ARMADILLO_CLOAK" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Armadillo Cloak]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Mantel des Gürteltiers]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Capa de Armadillo]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Cape de tatou]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Mantello di Armadillo]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[アルマジロの外(がい)套(とう)]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="244905" />
<ARTID value="127998" />
<ARTIST name="Wayne Reynolds" />
<CASTING_COST cost="{1}{G}{W}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Don’t laugh. It works.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Lach nicht. Es hilft wirklich.“]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“No te rías. Da resultado.”]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Ne riez pas. Ça marche. »]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Non ridere. Funziona”.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[「笑うなよ。 ちゃんと役に立つんだ。」]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Enchantment" order_de-DE="0" order_es-ES="0" order_fr-FR="0" order_it-IT="0" order_jp-JA="0" />
<SUB_TYPE metaname="Aura" 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="C" />
<STATIC_ABILITY attach_filter="1" filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Enchant creature]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Enchanter: créature]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Encantar criatura.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Kreaturenverzauberung]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Incanta creatura]]></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[Encantar criatura]]></LOCALISED_TEXT>
<CONTINUOUS_ACTION>
local attach_filter = Object():AttachmentFilter_Get()
attach_filter:Clear()
attach_filter:AddCardType( CARD_TYPE_CREATURE )
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<STATIC_ABILITY simple_filter="Parent" layer="7C">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Enchanted creature gets +2/+2 and has trample.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[La créature enchantée gagne +2/+2 et a le piétinement.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Die verzauberte Kreatur erhält +2/+2 und verursacht Trampelschaden.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[La criatura encantada obtiene +2/+2 y tiene la habilidad de arrollar.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[La creatura incantata prende +2/+2 e ha travolgere.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[エンチャントされているクリーチャーは、+2/+2の修整を受けるとともにトランプルを持つ。]]></LOCALISED_TEXT>
<CONTINUOUS_ACTION layer="7C">
local parent = Object():GetParent()
if parent ~= nil then
parent:GetCurrentCharacteristics():Power_Add( 2 )
parent:GetCurrentCharacteristics():Toughness_Add( 2 )
end
</CONTINUOUS_ACTION>
<CONTINUOUS_ACTION layer="6">
local parent = Object():GetParent()
if parent ~= nil then
parent:GetCurrentCharacteristics():Characteristic_Set( CHARACTERISTIC_TRAMPLE, 1 )
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<TRIGGERED_ABILITY auto_skip="1">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever enchanted creature deals damage, you gain that much life.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois que la créature enchantée inflige des blessures, vous gagnez autant de points de vie.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn die verzauberte Kreatur Schaden zufügt, erhältst du ebenso viele Lebenspunkte dazu.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que la criatura encantada haga daño, ganas esa cantidad de vida.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta la creatura incantata infligge danno, guadagni altrettanti punti vita.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[エンチャントされているクリーチャーがダメージを与えるたび、あなたはそれに等しい点数のライフを得る。]]></LOCALISED_TEXT>
<TRIGGER value="CREATURE_DEALT_DAMAGE">
return TriggerObject() == Object():GetParent()
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local damage_dealt = Damage():GetAmount()
if damage_dealt > 0 then
EffectController():GainLife( damage_dealt )
end
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<SPELL_ABILITY attach_filter="1" dangerous="1" filter_zone="ZONE_IN_PLAY">
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_IN_PLAY )
filter:SetHint( HINT_ALLIED_ONLY, EffectController() )
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(0)
</TARGET_DETERMINATION>
<PLAY_TIME_ACTION target_choosing="1">
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CREATURE_TO_ENCHANT", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target_card = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target_card ~= nil then
Object():Enchant( target_card )
end
</RESOLUTION_TIME_ACTION>
</SPELL_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_1" body="MORE_INFO_BADGE_BODY_1" zone="Any" />
<AI_BASE_SCORE score="1200" zone="ZONE_HAND" />
<AI_BASE_SCORE score="450" type="Parent" zone="ZONE_IN_PLAY" />
</CARD_V2>
Re: Report cards error here
by thefiremind » 19 Mar 2013, 16:10
The damage triggers in DotP2012 were named with "DEALT", but in DotP2013 are named with "DEALS", so change "CREATURE_DEALT_DAMAGE" with "CREATURE_DEALS_DAMAGE".
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-

thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Report cards error here
by RiiakShiNal » 19 Mar 2013, 17:09
A good way to find what values can be used for TRIGGERS is to look at the TRIGGER_* constants in CONSTANTS.LOL here and simply remove the "TRIGGER_" to get the usable values.
Example:
Example:
- Code: Select all
TRIGGER_COUNTERS_CHANGED = 26
TRIGGER_CYCLED = 27
TRIGGER_CREATURE_DEALS_COMBAT_DAMAGE = 28
TRIGGER_CREATURE_DEALS_COMBAT_DAMAGE_TO_PLAYER = 29
- Code: Select all
COUNTERS_CHANGED
CYCLED
CREATURE_DEALS_COMBAT_DAMAGE
CREATURE_DEALS_COMBAT_DAMAGE_TO_PLAYER
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2189
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Report cards error here
by AriesKiki » 19 Mar 2013, 20:06
Thank you!
I also need help with Femeref Enchantress, it doesn't let me draw the card when an enchantment is put into a graveyard from the battlefield :/
I also need help with Femeref Enchantress, it doesn't let me draw the card when an enchantment is put into a graveyard from the battlefield :/
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="FEMEREF_ENCHANTRESS_245003" />
<CARDNAME text="FEMEREF_ENCHANTRESS" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Femeref Enchantress]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Zauberin der Femeref]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Encantadora femeref]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Enchanteresse fémeiref]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Incantatrice Femeref]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[フェメレフのエンチャントレス]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="245003" />
<ARTID value="2169" />
<ARTIST name="D. Alexander Gregory" />
<CASTING_COST cost="{G}{W}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“Then she spread a fine dust over the land, like a butterfly shaking its wing.”
—“The Enchantress,” Femeref tale]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[„Dann breitete sie einen feinen Staubschleier über das Land, als ob ein Schmetterling seine Flügel schütteln würde.“
—„Die Zauberin“, Märchen der Femeref]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“Luego extendió una fina capa de polvo sobre la tierra, como una mariposa que sacude sus alas.”
—“La encantadora”, cuento femeref]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[« Alors, elle répandit une fine poudre sur le terrain, comme un papillon agitant ses ailes. »
—« L'enchanteresse », conte fémeiref]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“Allora sparse una polvere sottile sulla terra, come una farfalla che sbatte le ali.”
—“L'Incantatrice”, racconto di Femeref]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[「そして彼女は、細かな粉を大地にまいた。まるで蝶がその羽根を震わせるように。」
――「エンチャントレス」 フェメレフの物語]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Creature" order_de-DE="0" order_es-ES="0" order_fr-FR="0" order_it-IT="0" order_jp-JA="0" />
<SUB_TYPE metaname="Human" order_de-DE="0" order_es-ES="1" order_fr-FR="0" order_it-IT="1" order_jp-JA="0" />
<SUB_TYPE metaname="Druid" order_de-DE="1" order_es-ES="0" order_fr-FR="1" order_it-IT="0" order_jp-JA="1" />
<EXPANSION value="DPE" />
<RARITY metaname="R" />
<POWER value="1" />
<TOUGHNESS value="2" />
<TRIGGERED_ABILITY auto_skip="1">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Whenever an enchantment is put into a graveyard from the battlefield, draw a card.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[À chaque fois qu'un enchantement est mis dans un cimetière depuis le champ de bataille, piochez une carte.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Immer wenn eine Verzauberung aus dem Spiel auf einen Friedhof gelegt wird, ziehe eine Karte.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Siempre que un encantamiento vaya a un cementerio desde el campo de batalla, roba una carta.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Ogniqualvolta un incantesimo viene messo in un cimitero dal campo di battaglia, pesca una carta.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[エンチャントが1つ戦場からいずれかの墓地に置かれるたび、カードを1枚引く。]]></LOCALISED_TEXT>
<TRIGGER value="HIT_GRAVEYARD">
return (TriggerObject():GetCardType():Test( CARD_TYPE_ENCHANTMENT ) ~= 0 and TriggerObject():GetErstwhileZone() == ZONE_IN_PLAY)
</TRIGGER>
<RESOLUTION_TIME_ACTION>
Object():GetPlayer():DrawCard()
</RESOLUTION_TIME_ACTION>
<AI_BASE_SCORE score="150" zone="ZONE_IN_PLAY" />
</TRIGGERED_ABILITY>
<SFX text="COMBAT_WHITE_MAGIC_LARGE_ATTACK" power_boundary_min="4" power_boundary_max="-1" />
<SFX text="COMBAT_WHITE_MAGIC_SMALL_ATTACK" power_boundary_min="1" power_boundary_max="3" />
</CARD_V2>
Re: Report cards error here
by thefiremind » 19 Mar 2013, 20:13
"HIT_GRAVEYARD" is also surpassed, as you can see from any DotP2013 "dies" trigger.
- Code: Select all
<TRIGGER value="ZONECHANGE_BEGIN" to_zone="ZONE_GRAVEYARD" from_zone="ZONE_IN_PLAY">
return TriggerObject():GetCardType():Test( CARD_TYPE_ENCHANTMENT ) ~= 0
</TRIGGER>
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-

thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Report cards error here
by AriesKiki » 19 Mar 2013, 21:03
Thank you thefiremind, now it's working.
Two last questions. ¿What's wrong with the things relative to the Kicker ability in Gigantiform?
Two last questions. ¿What's wrong with the things relative to the Kicker ability in Gigantiform?
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="GIGANTIFORM_245016" />
<CARDNAME text="GIGANTIFORM" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Gigantiform]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Gigantiform]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Gigantiforme]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Gigantiforme]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Gigantiforme]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[巨(きょ)身(しん)化(か)]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="245016" />
<ARTID value="123782" />
<ARTIST name="Justin Sweet" />
<CASTING_COST cost="{3}{G}{G}" />
<TYPE metaname="Enchantment" order_de-DE="0" order_es-ES="0" order_fr-FR="0" order_it-IT="0" order_jp-JA="0" />
<SUB_TYPE metaname="Aura" 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" />
<UTILITY_ABILITY filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Kicker {4}]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Kick {4}]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bonus {4}]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Estímulo {4}.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Potenziamento {4}]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[キッカー {4}]]></LOCALISED_TEXT>
<COST type="mana" cost="{4}" qualifier="kicker" />
</UTILITY_ABILITY>
<STATIC_ABILITY attach_filter="1" filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Enchant creature]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Enchanter: créature]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Encantar criatura.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Kreaturenverzauberung]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Incanta creatura]]></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[Encantar criatura]]></LOCALISED_TEXT>
<CONTINUOUS_ACTION>
local attach_filter = Object():AttachmentFilter_Get()
attach_filter:Clear()
attach_filter:AddCardType( CARD_TYPE_CREATURE )
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<STATIC_ABILITY simple_filter="Parent" layer="7B">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Enchanted creature is 8/8 and has trample.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[La créature enchantée est 8/8 et a le piétinement.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Die verzauberte Kreatur ist 8/8 und verursacht Trampelschaden.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[La criatura encantada es 8/8 y tiene la habilidad de arrollar.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[La creatura incantata è 8/8 e ha travolgere.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[エンチャントされているクリーチャーは8/8になるとともにトランプルを持つ。]]></LOCALISED_TEXT>
<CONTINUOUS_ACTION>
local parent = Object():GetParent()
if parent ~= nil then
local characteristics = parent:GetCurrentCharacteristics()
characteristics:Power_Set( 8 )
characteristics:Toughness_Set( 8 )
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<TRIGGERED_ABILITY suppress_fizzle="1">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Gigantiform enters the battlefield, if it was kicked, you may search your library for a card named Gigantiform, put it onto the battlefield, then shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand le Gigantiforme arrive sur le champ de bataille, s'il a été kické, vous pouvez chercher dans votre bibliothèque une carte appelée Gigantiforme, la mettre sur le champ de bataille, et mélanger ensuite votre bibliothèque.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn die Gigantiform ins Spiel kommt, kannst du deine Bibliothek nach einer Karte namens Gigantiform durchsuchen, sie ins Spiel bringen und dann deine Bibliothek mischen, falls du die Bonuskosten bezahlt hast.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando Gigantiforme entre al campo de batalla, si fue estimulado, puedes buscar en tu biblioteca una carta llamada Gigantiforme, ponerla en el campo de batalla y luego barajar tu biblioteca.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando il Gigantiforme entra nel campo di battaglia, se è stato potenziato, puoi passare in rassegna il tuo grimorio per una carta chiamata Gigantiforme, metterla sul campo di battaglia, poi rimescolare il tuo grimorio.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[巨身化が戦場に出たとき、それがキッカーされている場合、あなたはあなたのライブラリーから「巨身化」という名前のカードを1枚探してもよい。そうしたなら、それを戦場に出し、その後あなたのライブラリーを切り直す。]]></LOCALISED_TEXT>
<TRIGGER value="COMES_INTO_PLAY" simple_qualifier="self">
return TriggerObject():Kicked() > 0
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local filter = Object():GetFilter()
filter:Clear()
filter:NotTargetted()
filter:May()
filter:AddCardName( Object():GetCardName() )
filter:PlayerHint( Object():GetPlayer() )
filter:SetZone( ZONE_LIBRARY )
filter:SetPlayer( Object():GetPlayer() )
Object():GetPlayer():ChooseTargetDC( "CARD_QUERY_CHOOSE_CARD_NAMED_GIGANTIFORM", MTG():EffectDataChest():Make_Targets(1) )
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target_DC = MTG():EffectDataChest():Get_Targets(1)
if target_DC ~= nil then
local target_card = target_DC:Get_CardPtr(0)
if target_card ~= nil then
Object():GetPlayer():PseudoPlaySpell( target_card )
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
Object():GetOwner():ShuffleLibrary()
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<STATIC_ABILITY simple_filter="Parent" layer="6">
<CONTINUOUS_ACTION layer="6">
local parent = Object():GetParent()
if parent ~= nil then
parent:GetCurrentCharacteristics():Characteristic_Set( CHARACTERISTIC_TRAMPLE, 1 )
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<SPELL_ABILITY attach_filter="1" dangerous="1" filter_zone="ZONE_IN_PLAY">
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_IN_PLAY )
filter:SetHint( HINT_ALLIED_ONLY, EffectController() )
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(0)
</TARGET_DETERMINATION>
<PLAY_TIME_ACTION target_choosing="1">
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CREATURE_TO_ENCHANT", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target_card = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target_card ~= nil then
Object():Enchant( target_card )
end
</RESOLUTION_TIME_ACTION>
</SPELL_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_1" body="MORE_INFO_BADGE_BODY_1" zone="Any" />
<HELP title="MORE_INFO_TITLE_KICKER" body="MORE_INFO_BODY_KICKER" zone="Any" />
</CARD_V2>
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="RETETHER_243029" />
<CARDNAME text="RETETHER" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Retether]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Neu binden]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Volver a atar]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Rattachement]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Re-imbrigliare]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[再(さい)拘(こう)束(そく)]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="243029" />
<ARTID value="101391" />
<ARTIST name="Dan Scott" />
<CASTING_COST cost="{3}{W}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[The rifts reach into infinite time streams, bringing the divergent products of alternate pasts into the present.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Die Zeitspalten durchmessen unendlich viele Zeitströme und bringen die abweichenden Ergebnisse unterschiedlicher Vergangenheiten in die Gegenwart.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Las grietas alcanzan infinitas líneas temporales, trayendo al presente los resultados de divergentes pasados alternativos.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Les failles puisent les produits divergents des passés alternatifs dans des flux temporels infinis et les ramènent dans le présent.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Gli squarci raggiungono infiniti flussi temporali e portano nel presente i contrastanti prodotti di passati alternativi.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[裂け目は無限の時の流れにまで到達し、様々に分岐した過去の創造物を現在にもたらしている。]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Sorcery" 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" />
<SPELL_ABILITY zone="Graveyard">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Return each Aura card from your graveyard to the battlefield. Only creatures can be enchanted this way.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Renvoyez sur le champ de bataille chaque carte d'aura de votre cimetière. Vous ne pouvez enchanter que des créatures de cette manière.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bringe alle Aura-Karten aus deinem Friedhof ins Spiel zurück. Nur Kreaturen können auf diese Weise verzaubert werden.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Regresa cada carta de aura de tu cementerio al campo de batalla. Sólo se pueden encantar criaturas de esta manera.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Rimetti sul campo di battaglia ogni carta Aura dal tuo cimitero. Solo le creature possono essere incantate in questo modo.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[あなたの墓地にある各オーラ・カードを戦場に戻す。 これによりエンチャントできるのはクリーチャーのみである。]]></LOCALISED_TEXT>
<FILTER>
return (FilteredCard() ~= nil and FilteredCard():GetPlayer() == Object():GetPlayer() and FilteredCard():GetZone() == ZONE_GRAVEYARD
and FilteredCard():GetSubType():Test( ENCHANTMENT_TYPE_AURA ) ~= 0)
</FILTER>
<RESOLUTION_TIME_ACTION>
if FilteredCard() ~= nil then
Object():GetPlayer():PseudoPlaySpell( FilteredCard() )
end
</RESOLUTION_TIME_ACTION>
<SFX text="CASTER_RETETHER_PLAY" />
<AI_BASE_SCORE score="900" zone="hand" />
</SPELL_ABILITY>
</CARD_V2>
Re: Report cards error here
by RiiakShiNal » 19 Mar 2013, 22:43
With Gigantiform your trigger is wrong (COMES_INTO_PLAY no longer exists):
- Code: Select all
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_IN_PLAY">
return TriggerObject():Kicked() > 0
</TRIGGER>
- Code: Select all
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CARD_NAMED_GIGANTIFORM", EffectDC():Make_Targets(1) )
- Code: Select all
<SPELL_ABILITY filter_zone="ZONE_GRAVEYARD">
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2189
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Report cards error here
by thefiremind » 19 Mar 2013, 22:55
On Gigantiform you should also remove the suppress_fizzle tag (it's not useful anymore), move the layer="7B" on the CONTINUOUS_ACTION, and use ZONE_ANY instead of Any in the HELP blocks.
Bear in mind that Retether was partially wrong from the start: the "Only creatures can be enchanted this way" clause is totally ignored. If you use Retether in a deck that only has Auras with Enchant creature you won't notice it, though.
Bear in mind that Retether was partially wrong from the start: the "Only creatures can be enchanted this way" clause is totally ignored. If you use Retether in a deck that only has Auras with Enchant creature you won't notice it, though.
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-

thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Re: Report cards error here
by AriesKiki » 20 Mar 2013, 01:35
Mates, Retether works fine now. But Gigantiform doesn't let me search for other card Gigantiform in my library when kicked. All the other functions work fine by the way.
Here is corrected Gigantiform:
Here is corrected Gigantiform:
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="GIGANTIFORM_245016" />
<CARDNAME text="GIGANTIFORM" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Gigantiform]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Gigantiform]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Gigantiforme]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Gigantiforme]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Gigantiforme]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[巨(きょ)身(しん)化(か)]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="245016" />
<ARTID value="123782" />
<ARTIST name="Justin Sweet" />
<CASTING_COST cost="{3}{G}{G}" />
<TYPE metaname="Enchantment" order_de-DE="0" order_es-ES="0" order_fr-FR="0" order_it-IT="0" order_jp-JA="0" />
<SUB_TYPE metaname="Aura" 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" />
<UTILITY_ABILITY filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Kicker {4}]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Kick {4}]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Bonus {4}]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Estímulo {4}.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Potenziamento {4}]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[キッカー {4}]]></LOCALISED_TEXT>
<COST type="mana" cost="{4}" qualifier="kicker" />
</UTILITY_ABILITY>
<STATIC_ABILITY attach_filter="1" filter_zone="ZONE_IN_PLAY">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Enchant creature]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Enchanter: créature]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Encantar criatura.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Kreaturenverzauberung]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Incanta creatura]]></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[Encantar criatura]]></LOCALISED_TEXT>
<CONTINUOUS_ACTION>
local attach_filter = Object():AttachmentFilter_Get()
attach_filter:Clear()
attach_filter:AddCardType( CARD_TYPE_CREATURE )
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<STATIC_ABILITY simple_filter="Parent">
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Enchanted creature is 8/8 and has trample.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[La créature enchantée est 8/8 et a le piétinement.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Die verzauberte Kreatur ist 8/8 und verursacht Trampelschaden.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[La criatura encantada es 8/8 y tiene la habilidad de arrollar.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[La creatura incantata è 8/8 e ha travolgere.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[エンチャントされているクリーチャーは8/8になるとともにトランプルを持つ。]]></LOCALISED_TEXT>
<CONTINUOUS_ACTION layer="7B">
local parent = Object():GetParent()
if parent ~= nil then
local characteristics = parent:GetCurrentCharacteristics()
characteristics:Power_Set( 8 )
characteristics:Toughness_Set( 8 )
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<TRIGGERED_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[When Gigantiform enters the battlefield, if it was kicked, you may search your library
for a card named Gigantiform, put it onto the battlefield, then shuffle your library.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Quand le Gigantiforme arrive sur le champ de bataille, s'il a été kické, vous pouvez
chercher dans votre bibliothèque une carte appelée Gigantiforme, la mettre sur le champ de bataille, et mélanger ensuite votre
bibliothèque.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Wenn die Gigantiform ins Spiel kommt, kannst du deine Bibliothek nach einer Karte
namens Gigantiform durchsuchen, sie ins Spiel bringen und dann deine Bibliothek mischen, falls du die Bonuskosten bezahlt hast.]]
></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Cuando Gigantiforme entre al campo de batalla, si fue estimulado, puedes buscar en tu
biblioteca una carta llamada Gigantiforme, ponerla en el campo de batalla y luego barajar tu biblioteca.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Quando il Gigantiforme entra nel campo di battaglia, se è stato potenziato, puoi
passare in rassegna il tuo grimorio per una carta chiamata Gigantiforme, metterla sul campo di battaglia, poi rimescolare il tuo
grimorio.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[巨身化が戦場に出たとき、それがキッカーされている場合、あなたはあなたのライブラリーから「巨身化」という名前のカードを1枚探してもよい。そうしたなら、それを戦場に出し、その後
あなたのライブラリーを切り直す。]]></LOCALISED_TEXT>
<TRIGGER value="ZONECHANGE_END" simple_qualifier="self" to_zone="ZONE_IN_PLAY">
return TriggerObject():Kicked() > 0
</TRIGGER>
<RESOLUTION_TIME_ACTION>
local filter = Object():GetFilter()
filter:Clear()
filter:NotTargetted()
filter:May()
filter:AddCardName( Object():GetCardName() )
filter:PlayerHint( Object():GetPlayer() )
filter:SetZone( ZONE_LIBRARY )
filter:SetPlayer( Object():GetPlayer() )
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CARD_NAMED_GIGANTIFORM", EffectDC():Make_Targets(1) )
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target_DC = MTG():EffectDataChest():Get_Targets(1)
if target_DC ~= nil then
local target_card = target_DC:Get_CardPtr(0)
if target_card ~= nil then
Object():GetPlayer():PseudoPlaySpell( target_card )
end
end
</RESOLUTION_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
Object():GetOwner():ShuffleLibrary()
</RESOLUTION_TIME_ACTION>
</TRIGGERED_ABILITY>
<STATIC_ABILITY simple_filter="Parent" layer="6">
<CONTINUOUS_ACTION layer="6">
local parent = Object():GetParent()
if parent ~= nil then
parent:GetCurrentCharacteristics():Characteristic_Set( CHARACTERISTIC_TRAMPLE, 1 )
end
</CONTINUOUS_ACTION>
</STATIC_ABILITY>
<SPELL_ABILITY attach_filter="1" dangerous="1" filter_zone="ZONE_IN_PLAY">
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_IN_PLAY )
filter:SetHint( HINT_ALLIED_ONLY, EffectController() )
</TARGET_DEFINITION>
<TARGET_DETERMINATION>
return AtLeastOneTargetFromDefinition(0)
</TARGET_DETERMINATION>
<PLAY_TIME_ACTION target_choosing="1">
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CREATURE_TO_ENCHANT", EffectDC():Make_Targets(0) )
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION>
local target_card = EffectDC():Get_Targets(0):Get_CardPtr(0)
if target_card ~= nil then
Object():Enchant( target_card )
end
</RESOLUTION_TIME_ACTION>
</SPELL_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_1" body="MORE_INFO_BADGE_BODY_1" zone="ZONE_ANY" />
<HELP title="MORE_INFO_TITLE_KICKER" body="MORE_INFO_BODY_KICKER" zone="ZONE_ANY" />
</CARD_V2>
- Code: Select all
[lua] [string "GIGANTIFORM_245016_TITLE (RESOLUTION_TIME_ACTION) [4358]"]:7: attempt to call method 'PlayerHint' (a nil value)
[lua] [string "GIGANTIFORM_245016_TITLE (RESOLUTION_TIME_ACTION) [4358]"]:7: attempt to call method 'PlayerHint' (a nil value)
[lua] [string "GIGANTIFORM_245016_TITLE (RESOLUTION_TIME_ACTION) [4358]"]:7: attempt to call method 'PlayerHint' (a nil value)
[lua] [string "GIGANTIFORM_245016_TITLE (RESOLUTION_TIME_ACTION) [4358]"]:7: attempt to call method 'PlayerHint' (a nil value)
[lua] [string "GIGANTIFORM_245016_TITLE (RESOLUTION_TIME_ACTION) [4358]"]:7: attempt to call method 'PlayerHint' (a nil value)
[lua] [string "GIGANTIFORM_245016_TITLE (RESOLUTION_TIME_ACTION) [4358]"]:7: attempt to call method 'PlayerHint' (a nil value)
[lua] [string "GIGANTIFORM_245016_TITLE (RESOLUTION_TIME_ACTION) [4358]"]:7: attempt to call method 'PlayerHint' (a nil value)
Re: Report cards error here
by RiiakShiNal » 20 Mar 2013, 02:45
PlayerHint was removed you should either use SetHint instead or remove it altogether (this card doesn't really need a hint, you either choose one or you don't):
- Code: Select all
filter:SetHint( HINT_ALLY_ONLY, EffectController() )
Just getting started: Xander9009's DotP 2014 Community Wad
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
Need a deck builder: DotP 2014 Deck Builder
Problems Modding: DotP 2014 Frequent Modding Mistakes
- RiiakShiNal
- Programmer
- Posts: 2189
- Joined: 16 May 2011, 21:37
- Has thanked: 75 times
- Been thanked: 497 times
Re: Report cards error here
by thefiremind » 20 Mar 2013, 09:51
It should actually beRiiakShiNal wrote:
- Code: Select all
filter:SetHint( HINT_ALLY_ONLY, EffectController() )
- Code: Select all
filter:SetHint( HINT_ALLIED_ONLY, EffectController() )
< Former DotP 2012/2013/2014 modder >
Currently busy with life...
Currently busy with life...
-

thefiremind - Programmer
- Posts: 3515
- Joined: 07 Nov 2011, 10:55
- Has thanked: 118 times
- Been thanked: 722 times
Who is online
Users browsing this forum: No registered users and 18 guests