Shandalar - Program Bugs
AI suicide attacks with coloured creatures against creatures with protection against that colour. (fix completed in vcs)
I noticed some really strange/suicidal AI attack behaviour at least with Black creatures with Lifelink ability against Mirran Crusader at least.
AI attacked in different games with Marcov Patrician and Child of Night alone each time,(they weren't boosted by other cards so not to suffer lethal damage) against Mirran Crusader which has both protection from black and won't take any damage by them and also double strike =(first strike for AI if I remember well you said you have set it like this) so even without the protection AI's creatures couldn't have done any damage as they would receive lethal damage from first strike. So something is fishy here.
AI attacked in different games with Marcov Patrician and Child of Night alone each time,(they weren't boosted by other cards so not to suffer lethal damage) against Mirran Crusader which has both protection from black and won't take any damage by them and also double strike =(first strike for AI if I remember well you said you have set it like this) so even without the protection AI's creatures couldn't have done any damage as they would receive lethal damage from first strike. So something is fishy here.
Last edited by Aswan jaguar on 18 Sep 2016, 07:26, edited 2 times in total.
Reason: rename to correct bug
Reason: rename to correct bug
Comments
Posted by Korath » 17 Jun 2015, 07:50
Have you seen it happen against normal first strikers, or just double strike? Any chance the AI had a pumping card in its hand that it declined to (or couldn't) play?
Posted by Aswan jaguar » 17 Jun 2015, 15:08
I haven't noticed this with first strikers.I don't know what AI had in hand.
I have seen many times though AI attacking against my creature with Protection from the colour of AI's attacking creature 1 vs 1 without AI benefiting from the attack.However AI didn't loose most of the times the creature as it was a big fatty against my small defender and with me having nothing on battlefield to boost it so not a danger for AI speculation (as AI doesn't take into account possible dangers from cards in my hand,right?).
I have seen many times though AI attacking against my creature with Protection from the colour of AI's attacking creature 1 vs 1 without AI benefiting from the attack.However AI didn't loose most of the times the creature as it was a big fatty against my small defender and with me having nothing on battlefield to boost it so not a danger for AI speculation (as AI doesn't take into account possible dangers from cards in my hand,right?).
Posted by guinsoo » 04 Jul 2015, 08:34
This happens extremely frequently when I'm playing my reanimator.
My totally unfounded guess is that the AI sees something on the board that it can't handle (Sphinx of the South Wind for example) and its 'simulations' show that it has the same chance to win regardless of what it does (0%) so it prefers the higher action play and just suicides everything. That, or the AI is just totally bugged and thinks it is the one with the protection from X creatures, rather than the other way around.
Literally probably 90% of the games I play, the AI senselessly suicides into me once I get a big fatty on board. Like, a single creature attacks into my Avacyn + Sphinx board. It was cute at first now it's just sad.
My totally unfounded guess is that the AI sees something on the board that it can't handle (Sphinx of the South Wind for example) and its 'simulations' show that it has the same chance to win regardless of what it does (0%) so it prefers the higher action play and just suicides everything. That, or the AI is just totally bugged and thinks it is the one with the protection from X creatures, rather than the other way around.
Literally probably 90% of the games I play, the AI senselessly suicides into me once I get a big fatty on board. Like, a single creature attacks into my Avacyn + Sphinx board. It was cute at first now it's just sad.
Last edited by guinsoo on 04 Jul 2015, 08:37, edited 1 time in total.
Posted by guinsoo » 07 Jul 2015, 01:07
Have noticed the AI 'suiciding' with more than just attacking creatures once the game is secure. Sometimes an enemy will double Ritual in response to my game-ending fireball (and he just mana burns for 5), or randomly tap some artifact mana (e.g. Sol Ring). Watched Goblin Warlord double Mogg Fanatic himself in the face in response to lethal damage (when he could have at least tried to use those Mogg Fanatics to slow me down). After Mogging himself in the face he lightning bolted his remaining surviving creature to death. Not sure but I think there's something with the AIs that just makes them do the absolute worst things possible once it is sure it's gonna lose. Which isn't necessarily the worst thing, to try to expedite matters once the game is decided.
Last edited by guinsoo on 07 Jul 2015, 01:13, edited 1 time in total.
Posted by Aswan jaguar » 13 Sep 2016, 19:21
It happened a lot lately and I tested further.AI will attack with almost any creature (I can't get why the few ones don't do that)that has the same colour as the colour of the protection humans creature has.
Also this bug with protection from that colour messes AI decisions of activating abilities of creatures with that colour,too.I don't know if it affects also spells of that colour,too.
In below examples AI hasn't got a chance to win by attacking.
examples:
1- Player has a creature with protection from black like White Knight AI has only 2/2 & 1/1 black creatures AI will attack with all of them no matter how many AI has,it will do the same if it has only one black creature.(same applies to all colours).
2- Player has a creature with protection from black like White Knight and AI has black and red 2/2 and 1/1 creatures.AI will attack only with the black creatures.(same applies if AI had also green,blue and white creatures it would still attack with the black ones).
3- I played Pristine Angel and AI had 3 Prodigal Sorcerer 's and 2 Paradise Bird.In AI's turn AI targeted with 2 Prodigal Sorcerer 's AI's 2 Paradise Birds and with the 3nd Prodigal Sorcerer targeted the 3nd Prodigal Sorcerer itself! Next AI' turn although I had a Merfolk Looter AI activated the 2 Prodigal Sorcerer 's to kill each other.see screenshot.
Also this bug with protection from that colour messes AI decisions of activating abilities of creatures with that colour,too.I don't know if it affects also spells of that colour,too.
In below examples AI hasn't got a chance to win by attacking.
examples:
1- Player has a creature with protection from black like White Knight AI has only 2/2 & 1/1 black creatures AI will attack with all of them no matter how many AI has,it will do the same if it has only one black creature.(same applies to all colours).
2- Player has a creature with protection from black like White Knight and AI has black and red 2/2 and 1/1 creatures.AI will attack only with the black creatures.(same applies if AI had also green,blue and white creatures it would still attack with the black ones).
3- I played Pristine Angel and AI had 3 Prodigal Sorcerer 's and 2 Paradise Bird.In AI's turn AI targeted with 2 Prodigal Sorcerer 's AI's 2 Paradise Birds and with the 3nd Prodigal Sorcerer targeted the 3nd Prodigal Sorcerer itself! Next AI' turn although I had a Merfolk Looter AI activated the 2 Prodigal Sorcerer 's to kill each other.see screenshot.
Last edited by Aswan jaguar on 18 Sep 2016, 07:31, edited 1 time in total.
Posted by Korath » 30 Oct 2016, 11:37
Simple repro:
- AI always attacks with Muck Rats against an untapped Death Speakers.
- AI never attacks with Muck Rats against an untapped Eager Cadet.
Last edited by Korath on 30 Oct 2016, 11:38, edited 1 time in total.
Posted by Korath » 30 Oct 2016, 12:39
The reverse is true, too: the AI won't block a Muck Rats with a Death Speakers, but will with an Eager Cadet.
Can't repro either in Manalink, and ai_choose_attackers() and ai_assign_blockers() look the same.
Can't repro either in Manalink, and ai_choose_attackers() and ai_assign_blockers() look the same.
Last edited by Korath on 30 Oct 2016, 12:42, edited 1 time in total.
Posted by Korath » 30 Oct 2016, 14:58
The problem actually isn't in the combat AI, it's in overall assessment: to get the AI to stop sleighting creatures with protection away from the color with the most creatures, I had to crank the adjustment so high that small creatures of the protected-from color are worth less on their own than the boost they give to the creature with protection. So it makes perfect sense for the AI to attack its Muck Rats into a Death Speakers.
Extant in every version starting from RT3. Breaking commit was the one to fix #596.
Extant in every version starting from RT3. Breaking commit was the one to fix #596.
Posted by Korath » 30 Oct 2016, 23:15
commit 6298ce0f23ea51ccd2f186059b72a0dfbe6e7b8c
Author: Korath <dgk@Beleriand.none>
Date: Sun Oct 30 19:12:51 2016 -0400
[HS] FIX #626: decrease value of protected-from by %, not increase protecteds'
Author: Korath <dgk@Beleriand.none>
Date: Sun Oct 30 19:12:51 2016 -0400
[HS] FIX #626: decrease value of protected-from by %, not increase protecteds'
9 Posts
• Page 1 of 1
Ticket details
- Ticket ID: 626
- Project: Shandalar
- Status: Fix completed in VCS
- Component: Duel AI
- Project version: Loremaster's Tower 1
- Priority: Normal
- Severity: Normal
- Assigned to: Korath
- Reported by: Aswan jaguar
- Reporter's tickets: List all tickets
- Reported on: 16 Jun 2015, 14:05
- Last visited by Korath » 31 Oct 2016, 06:25.