Blizzard / s2client-api

StarCraft II Client - C++ library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
MIT License
1.66k stars 281 forks source link

UnitTypeData 'is_morphed' request #185

Closed davechurchill closed 7 years ago

davechurchill commented 7 years ago

Requesting an 'is_morphed' bool in UnitTypeData which tells whether or not a unit is 'morphed' from another unit.

So for example:

This is necessary when building a bot to make production decisions and is currently one of the last remaining cases of a big switch statement in bots :)