Simic Charm
Hi Guys!
I'm assembling a Simic Deck with the new Gatecrash Cards right now (special thanks to firemind for Master Biomancer and the */* Ooze
) but i just can't get Simic Charm to work properly. The second and third modes work fine but the +3/+3 pump does absolutely nothing and i have no idea why. Maybe you guys see the problem, here is the code i came up with:
I'm assembling a Simic Deck with the new Gatecrash Cards right now (special thanks to firemind for Master Biomancer and the */* Ooze
- Code: Select all
<?xml version='1.0'?>
<CARD_V2>
<FILENAME text="SIMIC_CHARM_GTC_009" />
<CARDNAME text="SIMIC_CHARM" />
<TITLE>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Simic Charm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Simic Charm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Simic Charm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Simic Charm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Simic Charm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Simic Charm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Simic Charm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Simic Charm]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Simic Charm]]></LOCALISED_TEXT>
</TITLE>
<MULTIVERSEID value="GTC_009" />
<ARTID value="SIMIC CHARM" />
<ARTIST name="Zoltan Boros" />
<CASTING_COST cost="{G}{U}" />
<FLAVOURTEXT>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[“We measure our progress in heartbeats.”
—Prime Speaker Zegana]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[“We measure our progress in heartbeats.”
—Prime Speaker Zegana]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[“We measure our progress in heartbeats.”
—Prime Speaker Zegana]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[“We measure our progress in heartbeats.”
—Prime Speaker Zegana]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[“We measure our progress in heartbeats.”
—Prime Speaker Zegana]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[“We measure our progress in heartbeats.”
—Prime Speaker Zegana]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[“We measure our progress in heartbeats.”
—Prime Speaker Zegana]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[“We measure our progress in heartbeats.”
—Prime Speaker Zegana]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[“We measure our progress in heartbeats.”
—Prime Speaker Zegana]]></LOCALISED_TEXT>
</FLAVOURTEXT>
<TYPE metaname="Instant" />
<EXPANSION value="DPG" />
<RARITY metaname="U" />
<SPELL_ABILITY>
<LOCALISED_TEXT LanguageCode="en-US"><![CDATA[Choose one — Target creature gets +3/+3 until end of turn; or permanents you control gain hexproof until end of turn; or return target creature to its owner’s hand.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="de-DE"><![CDATA[Choose one — Target creature gets +3/+3 until end of turn; or permanents you control gain hexproof until end of turn; or return target creature to its owner’s hand.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="es-ES"><![CDATA[Choose one — Target creature gets +3/+3 until end of turn; or permanents you control gain hexproof until end of turn; or return target creature to its owner’s hand.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="fr-FR"><![CDATA[Choose one — Target creature gets +3/+3 until end of turn; or permanents you control gain hexproof until end of turn; or return target creature to its owner’s hand.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="it-IT"><![CDATA[Choose one — Target creature gets +3/+3 until end of turn; or permanents you control gain hexproof until end of turn; or return target creature to its owner’s hand.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="jp-JA"><![CDATA[Choose one — Target creature gets +3/+3 until end of turn; or permanents you control gain hexproof until end of turn; or return target creature to its owner’s hand.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ko-KR"><![CDATA[Choose one — Target creature gets +3/+3 until end of turn; or permanents you control gain hexproof until end of turn; or return target creature to its owner’s hand.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="ru-RU"><![CDATA[Choose one — Target creature gets +3/+3 until end of turn; or permanents you control gain hexproof until end of turn; or return target creature to its owner’s hand.]]></LOCALISED_TEXT>
<LOCALISED_TEXT LanguageCode="pt-BR"><![CDATA[Choose one — Target creature gets +3/+3 until end of turn; or permanents you control gain hexproof until end of turn; or return target creature to its owner’s hand.]]></LOCALISED_TEXT>
<TARGET_DEFINITION id="0">
local filter = Object():GetFilter()
filter:Clear()
filter:AddCardType( CARD_TYPE_CREATURE )
filter:SetZone( ZONE_IN_PLAY )
filter:SetHint( HINT_ENEMY_ONLY, EffectController() )
</TARGET_DEFINITION>
<PLAY_TIME_ACTION>
local player = EffectController()
if player ~= nil then
player:BeginNewMultipleChoice()
player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_PERMANENTS_GAIN_HEXPROOF" )
if AtLeastOneTargetFromDefinition(0) == 1 then
player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_CREATURE_GAINS_3_3" )
player:AddMultipleChoiceAnswer( "CARD_QUERY_OPTION_RETURN_CREATURE_TO_HAND" )
end
player:AskMultipleChoiceQuestion( "CARD_QUERY_MC_CHOOSE_MODE" )
end
</PLAY_TIME_ACTION>
<PLAY_TIME_ACTION target_choosing="1">
local decision = Object():GetMultipleChoiceResult()
EffectDC():Set_Int(1, decision)
if decision == 1 then
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CREATURE_TO_GAIN_3_3", EffectDC():Make_Targets(3) )
end
if decision == 2 then
EffectController():ChooseTarget( 0, "CARD_QUERY_CHOOSE_CREATURE_TO_PUT_INTO_HAND", EffectDC():Make_Targets(0) )
end
</PLAY_TIME_ACTION>
<RESOLUTION_TIME_ACTION ignore_filter="1">
local target = nil
local decision = EffectDC():Get_Int(1)
if EffectDC():Get_Targets(0) ~= nil then
target = EffectDC():Get_Targets(0):Get_CardPtr(0)
end
if target ~= nil then
if decision == 2 then
target:PutInHand()
end
end
</RESOLUTION_TIME_ACTION>
<CONTINUOUS_ACTION ignore_filter="1" layer="7C">
local target = EffectDC():Get_Targets(3):Get_CardPtr(0)
if target ~= nil then
local characteristics = target:GetCurrentCharacteristics()
characteristics:Power_Add( 3 )
characteristics:Toughness_Add( 3 )
end
</CONTINUOUS_ACTION>
<FILTER>
local decision = EffectDC():Get_Int(1)
if decision == 0 then
return PermanentsYouControl()
end
return false
</FILTER>
<CONTINUOUS_ACTION layer="6">
if FilteredCard() ~= nil and EffectDC():Get_Int(1) == 0 then
local characteristics = FilteredCard():GetCurrentCharacteristics()
if characteristics ~= nil then
characteristics:Characteristic_Set( CHARACTERISTIC_HEXPROOF, 1 )
end
end
</CONTINUOUS_ACTION>
<DURATION simple_duration="UntilEOT" />
</SPELL_ABILITY>
<HELP title="MORE_INFO_BADGE_TITLE_21" body="MORE_INFO_BADGE_BODY_21" zone="ZONE_ANY" />
</CARD_V2>