It is currently 26 Apr 2024, 01:25
   
Text Size

Report cards error here

Moderator: CCGHQ Admins

Re: Report cards error here

Postby whismer » 04 Sep 2010, 00:32

I cast berserk on the opponent creature to kill it during they attack me... not working!
whismer
 
Posts: 64
Joined: 23 Jul 2010, 02:36
Has thanked: 0 time
Been thanked: 0 time

Re: Report cards error here

Postby pun1sher666 » 04 Sep 2010, 10:57

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...
pun1sher666
 
Posts: 37
Joined: 09 Jul 2010, 13:49
Has thanked: 0 time
Been thanked: 0 time

Re: Report cards error here

Postby kevlahnota » 04 Sep 2010, 11:37

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...
I think I can do it. I'll try to code it. :D

EDIT: Please test berserk. SVN R222 =P~
User avatar
kevlahnota
Programmer
 
Posts: 825
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 14 times
Been thanked: 264 times

Re: Report cards error here

Postby kevlahnota » 04 Sep 2010, 11:55

[FIXED] Smallpox | Show and Tell | Exhume Works Correctly (up to 4 players! ) :D
Please update to latest SVN revision.


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>
User avatar
kevlahnota
Programmer
 
Posts: 825
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 14 times
Been thanked: 264 times

Re: Report cards error here

Postby Yanna » 04 Sep 2010, 12:09

Confirmed, now creatures brought back with exhume get into play simultaneously.

Nice fix !
Image
User avatar
Yanna
 
Posts: 137
Joined: 03 Mar 2009, 14:52
Has thanked: 0 time
Been thanked: 1 time

Re: Report cards error here

Postby pun1sher666 » 04 Sep 2010, 15:13

Good work kev ;)
I go to test it right now.
Thanks a lot for the fix !
pun1sher666
 
Posts: 37
Joined: 09 Jul 2010, 13:49
Has thanked: 0 time
Been thanked: 0 time

Re: Report cards error here

Postby buasudah » 05 Sep 2010, 02:18

Thanks a whole lot from me too, kevlahnota
buasudah
 
Posts: 19
Joined: 19 Aug 2010, 19:23
Has thanked: 0 time
Been thanked: 0 time

Re: Report cards error here

Postby Clark » 11 Sep 2010, 16:53

I find that some one misunderstood the meaning of 'target creature' :mrgreen:

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 8)
Clark
 
Posts: 64
Joined: 21 Aug 2010, 16:07
Has thanked: 0 time
Been thanked: 0 time

Re: Report cards error here

Postby kevlahnota » 11 Sep 2010, 17:00

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:I find that some one misunderstood the meaning of 'target creature' :mrgreen:

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 8)
User avatar
kevlahnota
Programmer
 
Posts: 825
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 14 times
Been thanked: 264 times

Re: Report cards error here

Postby Clark » 11 Sep 2010, 17:56

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.
To terastodon, it have been the key card to the duels for 2 times in my play.

In the duels, it was casted by AI instead of me, after which i bated AI under the help of those 3 green tokens :lol:

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. :cry:

It seems a new challenge to us :lol:
Clark
 
Posts: 64
Joined: 21 Aug 2010, 16:07
Has thanked: 0 time
Been thanked: 0 time

Re: Report cards error here

Postby kevlahnota » 11 Sep 2010, 19:14

I think we use calculate score to win or count the number of creatures he controls. if it's good then choose his own permanents else choose opponents.

I had this idea in mind but we need to discover the codes.

anyway, I'm still building a merfolk deck right now. Mutavault at beta status while Cursecatcher needs more polish to work at 100% :mrgreen:

Clark wrote:
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.
To terastodon, it have been the key card to the duels for 2 times in my play.

In the duels, it was casted by AI instead of me, after which i bated AI under the help of those 3 green tokens :lol:

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. :cry:

It seems a new challenge to us :lol:
User avatar
kevlahnota
Programmer
 
Posts: 825
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 14 times
Been thanked: 264 times

Problem with Gatekeeper of Malakir

Postby logoliv » 12 Sep 2010, 00:27

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)
User avatar
logoliv
 
Posts: 130
Joined: 26 Jul 2010, 11:15
Has thanked: 4 times
Been thanked: 1 time

Re: Problem with Gatekeeper of Malakir

Postby kevlahnota » 12 Sep 2010, 02:13

hmmm, that's odd. i'll check later but you can try adding zone="any" to the comes into play triggered ability of gatekeeper.

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)
User avatar
kevlahnota
Programmer
 
Posts: 825
Joined: 19 Jul 2010, 17:45
Location: Philippines
Has thanked: 14 times
Been thanked: 264 times

Re: Report cards error here

Postby zwastik » 14 Sep 2010, 21:09

dream halls is bogus. When the AI plays a spell it returns the same spell to it's hand.
zwastik
 
Posts: 31
Joined: 30 Aug 2010, 11:48
Has thanked: 0 time
Been thanked: 0 time

Re: Report cards error here

Postby zwastik » 16 Sep 2010, 13:33

berserk does not destroy creature that attacked at end of turn, at least AI creature.
zwastik
 
Posts: 31
Joined: 30 Aug 2010, 11:48
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to Programming Talk

Who is online

Users browsing this forum: No registered users and 29 guests


Who is online

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

Login Form