Ticket #891 (closed defect: fixed)
Animals can attack buildings
| Reported by: | feneur | Owned by: | |
|---|---|---|---|
| Priority: | Should Have | Milestone: | Alpha 10 |
| Component: | UI & Simulation | Keywords: | |
| Cc: | Philip, jan, kenny |
Description
Some animals are meant to be aggressive and attack the players units, that works fine as far as I can tell. However, at the moment they also attack buildings, something they shouldn't :) Perhaps it's something that's difficult to do, in that case it might benefit from being done at the same time that most cavalry/infantry units will be stopped from attacking buildings. Either way, the easiest way to limit it (especially since there is/might be edge cases like the Iberian Champion Javelinists which are cavalry units, but can attack buildings) is to add a new tag in the XMLs? Something like <CanAttackBuildings? />?
Change History
comment:2 Changed 13 months ago by leper
- Status changed from new to closed
- Resolution set to fixed
- Component changed from Core engine to UI & Simulation
- Milestone changed from Backlog to Alpha 10
This was resolved in r11710. All animals that have the attack component now have Structure as a restricted class.

A few more details can be found on #967 and http://www.wildfiregames.com/forum/index.php?showtopic=15151.