Ticket #991 (closed defect: fixed)
[PATCH] add attackStrengths and armorStrengths functions to ai api for bots
| Reported by: | infyquest | Owned by: | |
|---|---|---|---|
| Priority: | Should Have | Milestone: | Alpha 8 |
| Component: | UI & Simulation | Keywords: | patch |
| Cc: |
Description
Adds attackStrengths and armorStrengths functions to ai api for bots. This will help for all the bots in accessing their strengths and enemies strengths.
this removes todo in entity.js for attack and armor
Attachments
Change History
Changed 21 months ago by infyquest
- Attachment 0002-add-attack-and-armor-related-functions-to-entity-api.patch added
Changed 21 months ago by infyquest
fix a small typo
comment:3 Changed 20 months ago by quantumstate
- Status changed from closed to reopened
- Resolution fixed deleted
In your modified patch you have missed out some important properties. RepeatTime?, PrepareTime? and ProjectileSpeed?. RepeatTime? is essential for accurately calculating the attack strength of a unit, the others would be nice to have for completeness.
comment:4 Changed 20 months ago by ben
- Status changed from reopened to closed
- Resolution set to fixed
comment:5 Changed 20 months ago by quantumstate
- Status changed from closed to reopened
- Type changed from enhancement to defect
- Resolution fixed deleted
There was an error in commit [10407]. It should be:
| 0), |
| 1000) |
Note: See
TracTickets for help on using
tickets.
