# AI war galley attacks own buildings, appears highlighted

**URL:** <https://forums.ageofempires.com/t/ai-war-galley-attacks-own-buildings-appears-highlighted/137948>\
**Category:** I - Report a Bug\
**Created:** [July 24, 2021, 6:09am UTC](https://forums.ageofempires.com/t/ai-war-galley-attacks-own-buildings-appears-highlighted/137948 "2021-07-24T06:09:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SlenderBadger98](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/slenderbadger98/32/136923_2.png) [@SlenderBadger98](https://forums.ageofempires.com/u/SlenderBadger98)\
**Post date:** [July 24, 2021, 6:09am UTC](https://forums.ageofempires.com/t/ai-war-galley-attacks-own-buildings-appears-highlighted/137948/1 "2021-07-24T06:09:25Z")

</div>

### Game Version:

**Build:** 46777 | **OS:** Windows 10 | **Platform:** Steam

### Issue:

In a custom single player game (1v1), I came across an enemy war galley of the Shang attacking a building of their own. The ship was attacking a house (apparently). The unit was highlighted, as if the thing this vessel was attacking belonged to me. No building nor unit there were receiving any damage. The arrow attack sound was also audible.

### Attachments:

_The unit being highlighted while shooting an arrow:_  
 ![WarGaleyAttackBug](https://forums.ageofempires.com/uploads/default/original/3X/d/2/d21a01badfb69d7785f59f381b18c3a2882f1fa6.gif)

_Screenshot using No Fog and Reveal Map cheat codes. Arrow is signaled within a red circle:_

 ![RevealMap_NoFog](https://forums.ageofempires.com/uploads/default/original/3X/d/a/da406084d55aeb9ac421fadb6d8740b80d2703e7.png)

### Game file (save)

[https://drive.google.com/file/d/15LvCMzsT8HmPEMeasEF2n\_NEingiZvSz/view?usp=sharing](https://drive.google.com/file/d/15LvCMzsT8HmPEMeasEF2n_NEingiZvSz/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![FoughtBird1976](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/foughtbird1976/32/96728_2.png) [@FoughtBird1976](https://forums.ageofempires.com/u/FoughtBird1976)\
**Post date:** [July 24, 2021, 5:48pm UTC](https://forums.ageofempires.com/t/ai-war-galley-attacks-own-buildings-appears-highlighted/137948/2 "2021-07-24T17:48:30Z")

</div>

So the AI can build docks on land and shoot their own docks?! AoE I AI is insane.

---

<div class="post-metadata">

**Author:** ![SlenderBadger98](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/slenderbadger98/32/136923_2.png) [@SlenderBadger98](https://forums.ageofempires.com/u/SlenderBadger98)\
**Post date:** [July 24, 2021, 6:25pm UTC](https://forums.ageofempires.com/t/ai-war-galley-attacks-own-buildings-appears-highlighted/137948/3 "2021-07-24T18:25:37Z")

</div>

> [@FoughtBird1976](#):
>
> So the AI can (…) shoot their own docks?!

It was not the dock the thing the ship was attacking, but _apparently_ that house on the right corner (arrows went past beyond the dock, but the screenshot I took made it look like the ship was attacking the former).

> [@FoughtBird1976](#):
>
> AoE I AI is insane.

It really has some **weird** bugs… Let’s not forget the [scout](https://forums.ageofempires.com/t/bug-with-horses-and-stand-ground-stance-attack-loop/95580)/[lion](https://forums.ageofempires.com/t/lion-performing-an-attack-loop-on-the-air-not-responding-to-enemies-around-them/113936) one, with both units repeatedly attacking the air for some reason.

---

<div class="post-metadata">

**Author:** ![SlenderBadger98](https://forums.ageofempires.com/user_avatar/forums.ageofempires.com/slenderbadger98/32/136923_2.png) [@SlenderBadger98](https://forums.ageofempires.com/u/SlenderBadger98)\
**Post date:** [August 5, 2021, 6:46pm UTC](https://forums.ageofempires.com/t/ai-war-galley-attacks-own-buildings-appears-highlighted/137948/4 "2021-08-05T18:46:34Z")

</div>

[@fe\_dev\_team](https://forums.ageofempires.com/groups/fe_dev_team), I’ve attached a **savegame file** in the topic’s description. Cheers.
