Page 1 of 1

[fixed/closed]Immerwolf

PostPosted: 10 Oct 2013, 12:30
by BAgate
version September 2013 v2

This one is driving me nuts. Immerwolf is not preventing all non-human werewolves from transforming. It works for some, but not others. And what makes it really frustrating is I haven't been able to make a save game that shows it that isn't corrupted. Could it be something about the card that prevents save games from being loaded?

Re: Immerwolf

PostPosted: 10 Oct 2013, 14:47
by Gargaroz
I suspect it's a case of bad data in Manalink, please capture some screenshots.

Re: Immerwolf

PostPosted: 10 Oct 2013, 15:31
by BAgate
A series of screenshots as requested. Top is start state, middle pic shows that transformation is being processed, 3rd pic is end of next turn with werewolves transformed.

Re: Immerwolf

PostPosted: 10 Oct 2013, 16:56
by Korath
I think what's happening is that cards that transform from human werewolf to non-human werewolf after Immerwolf is already in play never get the SF_IMMERWOLF flag.

Probably better to go back to the old way and check the battlefield for Immerwolf in transform(). (Maybe make a wrapper for transform() that's only called by cards that actually transform in game terms, not flip cards an so on too.) There's just too many ways for things to change subtypes.

Re: Immerwolf

PostPosted: 10 Oct 2013, 21:50
by Gargaroz
I've slighlty tweaked the code of both "transform" and Immerwolf, everything should work now, unless some very complex subtype adding / setting happens (very unlikely, IMHO).