Page 1 of 1

[fixed/clo]Cards damaging at upkeep force AI to animate land

PostPosted: 03 Aug 2014, 08:31
by Aswan jaguar
Describe the Bug:
Cards that can deal damage in both upkeeps no matter which player or which creature they damage (like Rackling,Viceling,Lightning Bolt,etc will compel AI to animate Raging Ravine or any other animated lands(tested also Inkmoth Nexus) although AI has better things to do and cards to play spends it's mana like this.I have seen this for several turns in a raw.
Is it possible that AI tries to prevent that damage?

Which card did behave improperly ?
Animated Lands code probably.

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
2014/05/06: Journey into Nyx

What exactly should be the correct behavior/interaction ?
AI is not forced to activate animate Lands when a damage spell is cast,triggered or activated in upkeep.

Are any other cards possibly affected by this bug ?
-

Re: Cards damaging at upkeep force AI to animate lands

PostPosted: 03 Aug 2014, 13:39
by Gargaroz
Seems like some kind of hardcoded stuff, Korath could you tell us more ?

Re: Cards damaging at upkeep force AI to animate lands

PostPosted: 04 Aug 2014, 06:27
by Aswan jaguar
I checked latest update with Mishra's Factory which has the original code and it has the same behaviour,AI animates it if damaged at upkeep.
I checked also Mishra's Factory with an a early Manalink2.0 version and it doesn't have this problem.
edit: I checked Mishra's Factory and others with the previous update and AI doesn't have this problem either,so it may have the same rout problem with the lands that can't be activated on attack as fast effects don't appear.

Re: ?Cards damaging at upkeep force AI to animate lands

PostPosted: 05 Jan 2016, 12:20
by Korath
The problem was that something - I still can't figure out what - was setting spurious bits in dword_736808, which is the only way to get the AI to activate abilities during upkeep (see e.g. Rock Hydra or Armageddon Clock or Clockwork Beast). Bypassed as part of commit ee91a88.