Opened 13 years ago
Closed 12 years ago
#891 closed defect (fixed)
Animals can attack buildings
Reported by: | Erik Johansson | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 10 |
Component: | UI & Simulation | Keywords: | |
Cc: | Philip Taylor, Jan Wassenberg, Kenny Long | Patch: |
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 (2)
comment:1 by , 13 years ago
comment:2 by , 12 years ago
Component: | Core engine → UI & Simulation |
---|---|
Milestone: | Backlog → Alpha 10 |
Resolution: | → fixed |
Status: | new → closed |
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.