It is currently 27 Apr 2024, 07:08
   
Text Size

Shandalar - Program Bugs

Bad AI attack with Goblin Balloon Brigade-possibly any gain flying (fix completed)

 

AI attacked with Goblin Balloon Brigade 1/1 against my Aether Adept 2/2 without giving it flying first to be unblockable from my creature.The RRR it had available after I blocked/killed it were spend to gain 3 1/1 tokens from Hondeling Outburst.AI had no boost cards in hand either.

I saw AI attacking suicidally with Goblin Balloon Brigade (as thinking it had flying maybe?) like above 5,6 times.

In manalink at least AI (most probably in Shandalar,too as the first ~640 cards were the same in both engines so probably shared the same code)with original card either it wouldn't have attacked or give it flying and then attack unblocked.
Last edited by Aswan jaguar on 30 Oct 2015, 05:12, edited 3 times in total.
Reason: Component Individual Card->Duel AI-add to title

Comments

Posted by lujo » 28 Oct 2015, 15:14

I can confirm suicide attacks happening with other small creatures (while having nothing in the hand, or even the deck, to pump them with). Now that I think about it - the creatures were Mystic Penitent and Mystic Visionary but without threshold, so it might have thought they had flying.

Also - i saw this happen when the AI thinks it's dead on the next turn, it tends to misplay certain fogs in this situation, too (Kami of False Hope sacrifices outside of combat on the opponents turn and such).

Posted by Aswan jaguar » 28 Oct 2015, 21:10

I forgot to mention that AI in most cases had both tokens and non-token 1/1 vanilla creatures but suicidally attacked only with Goblin Balloon Brigade and I was without creatures to block fliers that is why assume AI thought it had flying or something similar.

Posted by Aswan jaguar » 29 Oct 2015, 20:46

I had the same suicidal attacks AI behaviour with Manta Riders which also has gain flying.

Posted by lujo » 31 Oct 2015, 01:19

Same with Dross Hopper.

Posted by Korath » 11 Nov 2015, 18:39

I don't need a list.

#903 closely related.

Posted by lujo » 12 Nov 2015, 15:32

Just noting that this can cause suicide attacks from any creature if the AI has a way to give it flying, as in the case of Caller of Gales.

Posted by Korath » 21 Feb 2016, 00:46

commit 162a3f42b9843c6d7abaa9cc3c9afd2b16a883cc
Author: Korath <dgk@Dirge.none>
Date: Sat Feb 20 19:45:03 2016 -0500

[AS] work around #826 - EVENT_CHECK_ABILITIES can't add evasion to AI creatures

Or at least, it can't add flying or landwalk abilities. It can still add
protection from colors or artifacts, since those are used, among other things,
to tell the AI that damage to a creature will be prevented. (Not terribly
effectively - see #903.)

This is frustrating on a number of levels, not least of which is that most of
the exhibited behavior is correct. The AI is perfectly correct to attack with
Goblin Balloon Brigade when it has a Mountain open to activate it, and delay
activation until after attacking. But even if evasion abilties are only
stripped out of EVENT_CHECK_ABILITIES's results during PHASE_BEFORE_BLOCKING
and later, and even though EVENT_CHECK_ABILITIES is redispatched in time for it
to get the new result without the artificially-added KEYWORD_FLYING, the AI
still doesn't activate - apparently the AI only considers potential blocks
while it's still declaring attackers.

Just as bad, the AI doesn't seem to properly consider when an evasion ability
like KEYWORD_FLYING or KEYWORD_REACH is artificially added with
EVENT_CHECK_ABILITIES to the player's potential blocker, so it'll happily
attack with a Scryb Sprites into the human's Goblin Balloon Brigade enchanted
with Lance.

In any case, the original game only used this functionality to indicate
potential first strike on Emerald Dragonfly and Rainbow Knights, and even then
only when the human player controlled the card in question, so mostly-crippling
it in this manner leaves us no worse off than we were before.

Ticket details

  • Ticket ID: 826
  • Project: Shandalar
  • Status: Fix completed
  • Component: Duel AI
  • Project version: Thieves Hideout 3
  • Priority: Normal
  • Severity: Normal
  • Assigned to: Korath
  • Reported by: Aswan jaguar
  • Reporter's tickets: List all tickets
  • Reported on: 28 Oct 2015, 11:23
  • Last visited by Korath » 12 Jun 2018, 06:59.
 

Login Form