Project

General

Profile

Bug #4033

Archers don't attack if the arrows have run out and there is no other weapon

Added by Vladimir Ulisko about 1 month ago. Updated 22 days ago.

Status:
Closed
Priority:
Normal
Category:
AI
Target version:
Start date:
08/20/2017
% Done:

100%

Reproducibility:
Always
Operating system:
Other
Severity:
Normal

Description

I found seriously problem in archer's combat AI, because of which the archer can be easy opponent. Let me remind you of the "iron" rule of archers: bows and crossbows are useless, if there are no arrows.
To reproduce this problem do this

History

#1 Updated by Vladimir Ulisko about 1 month ago

1. Find any aggressive archer (bow or crossbow should be the only weapon).
2. Wait until he has run out of arrows.
3. As result - archer don't attack.

#2 Updated by Vladimir Ulisko about 1 month ago

Also, an archer (NPC or creature) should not summon a bow if there are no arrows.

#3 Updated by Andrei Kortunov about 1 month ago

  • Status changed from New to Feedback needed
  • Priority changed from High to Normal
  • Severity changed from Major to Normal

Which OpenMW version are you use? IIRC, this bug was fixes in 0.43 (NPC will try to use spells, other weapon, magic items or hand-to-hand attack).

Also, an archer (NPC or creature) should not summon a bow if there are no arrows.

Yes, we should rework Bound items spells priority. I already have a code to fix this issue (https://github.com/akortunov/openmw/tree/bounditems), but this code is a quite old. I will rework it and create a PR later.

#4 Updated by Vladimir Ulisko about 1 month ago

This problem appears in version 0.42

#5 Updated by Alexei Dobrohotov about 1 month ago

Test it in a nightly of 0.43.0 then.

#6 Updated by Andrei Kortunov 22 days ago

  • Status changed from Feedback needed to Closed
  • Assignee set to Andrei Kortunov
  • Target version set to openmw-0.43
  • % Done changed from 0 to 100

Resolved as side effect of a2be732 3 months ago.

Also available in: Atom PDF