This adds a "hint" to the templates that an entity is attackable, that can be used in range queries.
This component can later be used to distribute automated attacks (refs #1847).
Details
Details
- Reviewers
- None
- Group Reviewers
Restricted Owners Package (Owns No Changed Paths)
Verify that effectively nothing has changed.
Diff Detail
Diff Detail
- Repository
- rP 0 A.D. Public Repository
- Branch
- /ps/trunk
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 13347 Build 26768: Vulcan Build Jenkins Build 26767: Vulcan Build (macOS) Jenkins Build 26766: Vulcan Build (Windows) Jenkins Build 26765: arc lint + arc unit
Event Timeline
Comment Actions
Or cmpTargetable and use it also for healing (to inform the healer that we have for example) instead of listening to global ownership changes.
Comment Actions
After some good thought, this seems indeed very redundant. Every action component (e.g. cmpHeal, cmpAttack) has a receiver component (e.g. Health, Resistance).
Those receiver components can very well be used as the "targetable" components (see e.g. resource gathering).