google-code-export / bwapi

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

Add upgrade information to UnitType #178

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I looked through the API, and find that only way to find range is through 
WeaponType::maxRange.
However, as everyone knows, the range of a unit can be upgraded. e.g. range 
of marine or dragoon or hydra. How can I know the range before the upgrade.

The same problem exists for the UnitType::topSpeed(). How can I know the top 
speed before the upgrade.

Original issue reported on code.google.com by hero...@gmail.com on 3 Jan 2010 at 10:43

GoogleCodeExporter commented 9 years ago
Seconded. UnitType can't take into account upgrades (I'm guessing) because 
there's no
parameters for whose unit you are taking into account. Whether or not we put 
the onus
on the API or the programmer to figure it out, UnitType should at least have the
upgrade information, too.

Original comment by darkp...@gmail.com on 14 Jan 2010 at 7:55

GoogleCodeExporter commented 9 years ago
There definetly should be a way to query the information for any upgrade level, 
or 
the database is not complete.

Original comment by goo...@teabix.com on 14 Jan 2010 at 8:07

GoogleCodeExporter commented 9 years ago

Original comment by AHeinerm on 28 Jan 2010 at 9:55

GoogleCodeExporter commented 9 years ago

Original comment by lowerlo...@gmail.com on 25 May 2010 at 8:04