macressler / bwapi

Automatically exported from code.google.com/p/bwapi
1 stars 0 forks source link

Shield regeneration rate for Protoss units #466

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to see a new feature in BWAPI that...

Returns the amount of regenerated shields per frame
(I'm using it for my move simulator)

Thanks.

Original issue reported on code.google.com by Leonid.T...@gmail.com on 30 Sep 2012 at 5:35

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 13 Dec 2012 at 8:44

GoogleCodeExporter commented 9 years ago
[Shields] 7pt/frame; 166.666.. pt/s
[Energy] 8pt/frame; 190.476.. pt/s
[Zerg HP] 4pt/frame; 95.238.. pt/s

Divide these values by 256 to get the visible portion of the field.
For example, shield regen would be 166.66../256 = 0.65.. points per second, or 
7/256 = 0.027..pt/frame.

Original comment by AHeinerm on 21 Dec 2012 at 2:08

GoogleCodeExporter commented 9 years ago
I've added it to the wiki here: 
https://code.google.com/p/bwapi/wiki/StarcraftGuide?ts=1356056596&updated=Starcr
aftGuide#What_is_the_regeneration_rate_of_Protoss_Shields?

I'll add it to BWAPI once I've finished updating all the types.

Original comment by AHeinerm on 21 Dec 2012 at 2:24

GoogleCodeExporter commented 9 years ago
The BWAPI project is slowly undergoing the migration to GitHub. All issues have 
been migrated to the GitHub issue tracker located here: 
https://github.com/bwapi/bwapi/issues

In order to receive updates on your issue, please head over to the GitHub issue 
tracker and subscribe to your issue.

Original comment by AHeinerm on 15 Apr 2014 at 7:46