[fixed/closed] Immerwolf + werewolves
Moderators: BAgate, drool66, stassy, Aswan jaguar, gmzombie, CCGHQ Admins
[fixed/closed] Immerwolf + werewolves
by jl415 » 29 Jan 2014, 23:50
Describe the Bug:
Bane of Hanweir doesn't lose defender (after extensive testing sometimes it does lose the defender status but I can't pin it down).
Which card did behave improperly ?
Bane of Hanweir
Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Jan 01, 2014 : Commanding the revision of Ice Age v2 - Gauntlet
What exactly should be the correct behavior/interaction ?
Bane of Hanweir loses defender when transforming.
Are any other cards possibly affected by this bug ?
Immerwolf
Bane of Hanweir doesn't lose defender (after extensive testing sometimes it does lose the defender status but I can't pin it down).
Which card did behave improperly ?
Bane of Hanweir
Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Jan 01, 2014 : Commanding the revision of Ice Age v2 - Gauntlet
What exactly should be the correct behavior/interaction ?
Bane of Hanweir loses defender when transforming.
Are any other cards possibly affected by this bug ?
Immerwolf
Last edited by BAgate on 23 Apr 2014, 04:20, edited 7 times in total.
Reason: closed
Reason: closed
Re: Bane of Hanweir
by BAgate » 30 Jan 2014, 01:40
Works for me in a clean game. Could you include a savegame so we can check interactions?
Also, when referencing double-faced cards, try to include the front side name. It makes it a lot easier for us.
Also, when referencing double-faced cards, try to include the front side name. It makes it a lot easier for us.
Working on: housekeeping and archived reports
Re: Bane of Hanweir
by jl415 » 30 Jan 2014, 01:55
Ah, sorry about that, I've edited the name.
Saved game attached, my suspicion is some sort of interaction with Immerwolf - when I cast it my Bane of Hanweir gets defender out of the blue.
Saved game attached, my suspicion is some sort of interaction with Immerwolf - when I cast it my Bane of Hanweir gets defender out of the blue.
- Attachments
-
banofhanweir.rar- (1.73 KiB) Downloaded 82 times
Re: [confirmed]Hanweir Watchkeep / Bane of Hanweir
by BAgate » 30 Jan 2014, 02:30
It must have something to do with the Immerwolf, when you kill it the Bane of Hanweir loses defender.
Also, for some reason in your savegame my werewolves are transforming from human to non-human when I cast two spells in a turn (should only happen when no spells are cast).
Also, in a clean game these weird errors arise when Immerwolf is cast.
Also, for some reason in your savegame my werewolves are transforming from human to non-human when I cast two spells in a turn (should only happen when no spells are cast).
Also, in a clean game these weird errors arise when Immerwolf is cast.
Working on: housekeeping and archived reports
Re: [confirmed]Hanweir Watchkeep / Bane of Hanweir
by jl415 » 30 Jan 2014, 02:46
Yeap, I really think it's to do with Immerwolf, just tried with another warewolf transformed creature, Terror of Kruin Pass (Kruin Outlaw), and it doesn't get double strike. If I bury Immerwolf it gets double strike.
Should I update the title to Immerwolf or the mods do that?
Should I update the title to Immerwolf or the mods do that?
- Attachments
-
terrorofkruinpass.rar- (2.42 KiB) Downloaded 86 times
Re: [confirmed]Hanweir Watchkeep / Bane of Hanweir
by BAgate » 30 Jan 2014, 03:53
Leave that sort of thing to us unless you are asked to do it.
Working on: housekeeping and archived reports
Re: [confirmed] Immerwolf + werewolves
by Gargaroz » 31 Jan 2014, 01:30
Well, the code seems fine, I readjusted it a bit, consider it fixed.
----
- Current / medium term task: adjusting the code for making Misdirection and such usable
- Long term task: inserting all the good stuff I left out from the "Golden Years" mod
- Current / medium term task: adjusting the code for making Misdirection and such usable
- Long term task: inserting all the good stuff I left out from the "Golden Years" mod
- Gargaroz
- Programmer
- Posts: 7095
- Joined: 06 Nov 2009, 11:11
- Has thanked: 82 times
- Been thanked: 593 times
Re: [fixed by gargaroz] Immerwolf + werewolves
by BAgate » 12 Mar 2014, 03:54
Bane of Hanweir just got defender when I cast an Immerwolf, so this is still bugged.
Working on: housekeeping and archived reports
Re: [fixed by gargaroz] Immerwolf + werewolves
by jl415 » 12 Mar 2014, 05:38
I don't -.-BAgate wrote:Bane of Hanweir just got defender when I cast an Immerwolf, so this is still bugged.
Re: [still bugged] Immerwolf + werewolves
by BAgate » 12 Mar 2014, 06:12
This is what I just got.
Working on: housekeeping and archived reports
Re: [still bugged] Immerwolf + werewolves
by Korath » 12 Mar 2014, 06:26
Does the defender icon persist if you tap a land (which will force a recomputation)?
And can I get a step-by-step repro?
And can I get a step-by-step repro?
-

Korath - DEVELOPER
- Posts: 3522
- Joined: 02 Jun 2013, 05:57
- Has thanked: 491 times
- Been thanked: 1037 times
Re: [still bugged] Immerwolf + werewolves
by BAgate » 12 Mar 2014, 07:34
Defender icon persists for at east 2 turns of normal gameplay.
To reproduce: I played a werewolf deck which naturally included Immerwolf (also tried in a pure test deck with same results). Death Wish to add Hanweir Watchkeep (since I don't normally play with it). Cast the Hanweir Watchkeep, let it transform, then cast Immerwolf. As soon as Immerwolf enters play the defender icon appears.
Savegame attached if that is any help.
To reproduce: I played a werewolf deck which naturally included Immerwolf (also tried in a pure test deck with same results). Death Wish to add Hanweir Watchkeep (since I don't normally play with it). Cast the Hanweir Watchkeep, let it transform, then cast Immerwolf. As soon as Immerwolf enters play the defender icon appears.
Savegame attached if that is any help.
- Attachments
-
immer.rar- (2.32 KiB) Downloaded 82 times
Working on: housekeeping and archived reports
Re: [still bugged] Immerwolf + werewolves
by jl415 » 12 Mar 2014, 17:41
Yeap, I confirm too, just tried that.
Re: [still bugged] Immerwolf + werewolves
by Korath » 12 Mar 2014, 19:17
Fixed this symptom in 6f998b5. Not related to Immerwolf's influence on transformation at all, nor to this problem with transforming werewolves in both versions of BNG (which was also mentioned above).
This will affect any double-faced or flipping creature card that has different abilities in its transformed/flipped state than in its untransformed/unflipped state, and is currently in its transformed/flipped state; it'll show the untransformed/unflipped abilities as soon as an Immerwolf comes into play.
This is caused by a combination of two bugs:
This will affect any double-faced or flipping creature card that has different abilities in its transformed/flipped state than in its untransformed/unflipped state, and is currently in its transformed/flipped state; it'll show the untransformed/unflipped abilities as soon as an Immerwolf comes into play.
This is caused by a combination of two bugs:
- Immerwolf's +1/+1 ability checked has_subtype() before checking event. This is poor practice in any case, since the overwhelming majority of function calls won't be of any given event, and checking event is many orders of magnitude faster than checking subtype.
- has_subtype() calls is_changeling(), which in turn calls get_abilities(..., EVENT_ABILITIES). During recalculate_all_cards_in_play(), events are sent in order EVENT_SET_COLOR, EVENT_CHANGE_TYPE, EVENT_ABILITIES, EVENT_TOUGHNESS, EVENT_POWER, EVENT_STATIC_EFFECTS; if has_subtype() gets called before EVENT_CHANGE_TYPE or (if it's called before the card that changes its type is) during it, it computes abilities for the card's base type and clears KEYWORD_RECALC_ABILITIES so that, when EVENT_ABILITIES is sent from recalculate_all_cards_in_play(), it uses the cached value.
-

Korath - DEVELOPER
- Posts: 3522
- Joined: 02 Jun 2013, 05:57
- Has thanked: 491 times
- Been thanked: 1037 times
15 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests
