It is currently 08 Jul 2021, 04:44
   
Text Size

[fixed/closed]Kalonian Hydra doesn't double

Moderators: BAgate, drool66, stassy, Aswan jaguar, gmzombie, CCGHQ Admins

[fixed/closed]Kalonian Hydra doesn't double

Postby BAgate » 13 Dec 2013, 10:52

Describe the Bug:
Kalonian Hydra does not double the number of +1/+1 counters on itself when it attacks.

Which card did behave improperly ?
Kalonian Hydra

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
16/11/2013 : Portals to Theros - DUEL

What exactly should be the correct behavior/interaction ?
It should double the number of counters on all creatures you control, including itself.

Are any other cards possibly affected by this bug ?
no

Note: previous bug on this card: http://www.slightlymagic.net/forum/viewtopic.php?f=110&t=12082&p=134639&hilit=kalonian#p134639
Attachments
kalonian hydra.rar
(2.69 KiB) Downloaded 86 times
Last edited by BAgate on 26 Dec 2015, 04:25, edited 5 times in total.
Reason: closed
Working on: housekeeping and archived reports
User avatar
BAgate
Tester
 
Posts: 2445
Joined: 06 Mar 2012, 11:09
Has thanked: 117 times
Been thanked: 158 times

Re: Kalonian Hydra

Postby stassy » 13 Dec 2013, 12:02

This is peculiar, because in your savegame, the current Kalonian Hydra doesn't double its counter, but if I cast another one it work, and in a clean game it work also :

Image

Image

Something must have happened to the one in the bf so it cannot gain counter anymore, because it doesn't gain counters from the other Kalonian Hydra while the Phantom Nantuko did...

Image

There is also to note that none of the Kalonian Hydra newly cast interacted with Oran-Rief, the Vastwood
stassy
Moderator
 
Posts: 5274
Joined: 25 Feb 2009, 07:06
Has thanked: 471 times
Been thanked: 337 times

Re: Kalonian Hydra

Postby BAgate » 13 Dec 2013, 12:23

huh, you're right. The only difference I can think of is it received the extra counter from oran-rief, the vastwood. But that doesn't make any sense...

And in a clean game made no difference. I'm stumped.
Working on: housekeeping and archived reports
User avatar
BAgate
Tester
 
Posts: 2445
Joined: 06 Mar 2012, 11:09
Has thanked: 117 times
Been thanked: 158 times

Re: Kalonian Hydra

Postby stassy » 13 Dec 2013, 12:37

Tested Kalonian Hydra and Oran-Rief, the Vastwood in a clean game and they did interact correctly:

Image

Can you post your decks so we can test them out? I am out of option for it.
stassy
Moderator
 
Posts: 5274
Joined: 25 Feb 2009, 07:06
Has thanked: 471 times
Been thanked: 337 times

Re: Kalonian Hydra

Postby BAgate » 13 Dec 2013, 12:45

Opponent was a random deck, but here is the one I was using.
Attachments
Green Lands.rar
(990 Bytes) Downloaded 88 times
Working on: housekeeping and archived reports
User avatar
BAgate
Tester
 
Posts: 2445
Joined: 06 Mar 2012, 11:09
Has thanked: 117 times
Been thanked: 158 times

Re: [unconfirmed]Kalonian Hydra

Postby BAgate » 19 Oct 2015, 04:59

Happened again. Doubles counters on all other creatures but not itself.

Fate Reforged patch.
Attachments
kalonian hydra.rar
(2.22 KiB) Downloaded 73 times
Working on: housekeeping and archived reports
User avatar
BAgate
Tester
 
Posts: 2445
Joined: 06 Mar 2012, 11:09
Has thanked: 117 times
Been thanked: 158 times

Re: [unconfirmed]Kalonian Hydra

Postby Korath » 19 Oct 2015, 07:10

It'll happen when the Hydra is at id 0. (Rather, if a creature is at id 0, whether or not it's the hydra, that creature won't get counters.)
Code: Select all
/* 1*/int card_kalonian_hydra(int player, int card, event_t event){
/* 2*/
/* 3*/    // ~ enters the battlefield with four +1/+1 counters on it.
/* 4*/    enters_the_battlefield_with_counters(player, card, event, COUNTER_P1_P1, 4);
/* 5*/
/* 6*/    // Whenever ~ attacks, double the number of +1/+1 counters on each creature you control.
/* 7*/    if (declare_attackers_trigger(player, card, event, 0, player, card)){
/* 8*/        int count = active_cards_count[player]-1;
/* 9*/        while( count > -1 ){
/*10*/                if( in_play(player, count) && is_what(player, count, TYPE_CREATURE) ){
/*11*/                    int amount = count_1_1_counters(player, count);
/*12*/                    if( count > 0 ){
/*13*/                        add_1_1_counters(player, count, amount);
/*14*/                    }
/*15*/                }
/*16*/                count--;
/*17*/        }
/*18*/    }
/*19*/
/*20*/    return 0;
/*21*/}
Line 12 is the problem; it was intended to be (amount > 0) instead. The worst part of it is that it's completely redundant; add_1_1_counters(player, count, 0) is harmless.
User avatar
Korath
DEVELOPER
 
Posts: 3522
Joined: 02 Jun 2013, 05:57
Has thanked: 491 times
Been thanked: 1037 times

Re: [confirmed]Kalonian Hydra doesn't double

Postby Korath » 24 Nov 2015, 05:59

Fixed 315eb22.
User avatar
Korath
DEVELOPER
 
Posts: 3522
Joined: 02 Jun 2013, 05:57
Has thanked: 491 times
Been thanked: 1037 times


Return to Archived Reports

Who is online

Users browsing this forum: No registered users and 5 guests

cron

Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 10 minutes)
Most users ever online was 1922 on 07 Jun 2021, 06:01

Users browsing this forum: No registered users and 5 guests

Login Form