Re: Report cards error here
Posted: 04 Sep 2010, 00:32
I cast berserk on the opponent creature to kill it during they attack me... not working!
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=63&t=3062
I think I can do it. I'll try to code it.pun1sher666 wrote:Hi whismer
Yes i didn't got to find how to do it !
The card is tagged "IN PROGRESS" coz i didn't manage to find the way to destroy if it attacked...
buasudah wrote:correct SHOW AND TELL (i think)
<TRIGGERED_ABILITY zone="any" layer="0" >
<TRIGGER value="SPELL_PLAYED">
return SelfTriggered()
</TRIGGER>
<TARGET_DETERMINATION>
return TargetOpponent( Object():GetPlayer() )
</TARGET_DETERMINATION>
<PLAYTIME>
ChooseTarget( "CHOOSEOPPONENT" )
Object():Register_Player_Set( 0, Object():GetTargetPlayer() )
</PLAYTIME>
<PRE_EFFECT>
Object():GetFilter():Clear()
Object():GetFilter():SetPlayer( Object():Register_Player_Get( 0 ) )
Object():GetFilter():SetZone( ZONE_HAND )
Object():GetFilter():SetController( Object():Register_Player_Get( 0 ) )
Object():GetFilter():AddCardType( CARD_TYPE_CREATURE )
Object():Register_Player_Get( 0 ):ChooseTarget( "CHOOSETARGETCREATURE" )
</PRE_EFFECT>
<EFFECT>
if Object():GetTargetCard() ~= nil then
PutTargetCardIntoPlay()
end
</EFFECT>
</TRIGGERED_ABILITY>
<TRIGGERED_ABILITY zone="any" layer="0" >
<TRIGGER value="SPELL_PLAYED">
return SelfTriggered()
</TRIGGER>
<PRE_EFFECT>
Object():GetFilter():Clear()
Object():GetFilter():AddCardType( CARD_TYPE_CREATURE )
Object():GetFilter():SetZone( ZONE_HAND )
Object():GetFilter():SetController( Object():GetPlayer() )
ChooseTarget( "ChooseCreatureInGraveyardToPlay" )
</PRE_EFFECT>
<EFFECT>
PutTargetCardIntoPlay( Object():GetPlayer() )
</EFFECT>
</TRIGGERED_ABILITY>
Clark wrote:I find that some one misunderstood the meaning of 'target creature'
Actually, player could select one/more creature in both side instead of only opportunitys'.
One function named 'TargetSingleCreatureInPlay()' is added to make this feature work now.
I just fixed 'PATH_TO_EXILE' and 'SWORDS_TO_PLOWSHARES'.
Please kindly fix other 'target creature/artifact/Enchantment etc.' cards if you find
To terastodon, it have been the key card to the duels for 2 times in my play.kevlahnota wrote:do you think the AI will choose what's best to target if we enable the target determination to both players permanents ie. cards etc?
because I have made terastodon, if the AI will choose what's the best strategy if destroying his permanents and produce tokens or destroying 3 permanents of his opponents then this is good actually.
Clark wrote:To terastodon, it have been the key card to the duels for 2 times in my play.kevlahnota wrote:do you think the AI will choose what's best to target if we enable the target determination to both players permanents ie. cards etc?
because I have made terastodon, if the AI will choose what's the best strategy if destroying his permanents and produce tokens or destroying 3 permanents of his opponents then this is good actually.
In the duels, it was casted by AI instead of me, after which i bated AI under the help of those 3 green tokens
While the result would be changed if only AI choosed to destroy his own permanents.
But i dont know how to let AI choose the best strategy as you asked.
It seems a new challenge to us
logoliv wrote:the IA played Gatekeeper of Malakir with kicker cost, it came on the battlefield, then nothing happened (didn't ask me to sacrifice a creature and the game was just waiting)