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 07 Dec 2013 08:52:11 PM UTC  
 
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 08 Dec 2013 01:00:49 AM UTC, 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 07 Dec 2013 08:52:11 PM UTC, 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.

http://forum.wesnoth.org/viewtopic.php?f=4&p=563821#p563821

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 06 Jan 2014 12:20:21 AM UTCshadowmasterOpen/ClosedOpen=>Closed
    Sun 08 Dec 2013 01:00:49 AM UTCmattscStatusNone=>Fixed
      Assigned toNone=>mattsc
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup