bugBattle for Wesnoth - Bugs: bug #21334, AI passive when surrounded

Show feedback again

bug #21334: AI passive when surrounded

Submitted by:  None
Submitted on:  Sat Dec 7 20:52:11 2013  
Category: BugSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Artificial Intelligence
Status: FixedPrivacy: Public
Assigned to: Matthias Schoeck <mattsc>Originator Email: -unavailable-
Open/Closed: ClosedRelease: 1.11.7
Operating System: Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Dec 8 01:00:49 2013, comment #1:

Fixed in commit e7f17412378bd81d2c89c0f391d97894c2cc80d2. See the forum post linked to below for explanations.

Matthias Schoeck <mattsc>
Project MemberIn charge of this item.
Sat Dec 7 20:52:11 2013, original submission:

In BfW 1.11.7, the AI gets passive if it is surrounded, and won't attack when retaliation possible, no matter how feeble.

An example:

In first scenario of HttT (so, no UMC pollution), create a Yeti and give to side 2. Surround on six sides with some crappy unit with melee attack, like a bat. Leave the bats as side 1. End turn. Yeti does nothing. Next time, move one of the bats. Now the Yeti will move, then attack.

If you had used a fire dragon instead of a yeti, the AI would have used fireballs on the bats. If you had used something with ranged & melee attacks, instead of bats, the AI dragon wouldn't do anything when surrounded.




(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by shadowmaster (Updated the item)
  • -unavailable- added by mattsc (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Jan 6 00:20:21 2014shadowmasterOpen/ClosedOpen=>Closed
    Sun Dec 8 01:00:49 2013mattscStatusNone=>Fixed
      Assigned toNone=>mattsc
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup