Opened 13 years ago
Closed 13 years ago
#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: | Patch: |
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 (2)
Change History (8)
by , 13 years ago
Attachment: | 0002-add-attack-and-armor-related-functions-to-entity-api.patch added |
---|
by , 13 years ago
Attachment: | 0002-add-attack-and-armor-related-functions-to-entity-api-try-2.patch added |
---|
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 13 years ago
Keywords: | review removed |
---|
comment:3 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
comment:5 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Type: | enhancement → defect |
There was an error in commit [10407]. It should be:
0), |
1000) |
comment:6 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
fix a small typo