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 282 forks source link

DebugSetShields(0, unit) can not set shields of a unit to 0 #309

Open monarchBacilluscoli opened 5 years ago

monarchBacilluscoli commented 5 years ago

If you DebugSetShields(0, unit), no matter how many shields the unit has now, the shields of the unit will be full. But if you DebugSetShilds(0.1f, unit), it works and the shields will be 0.