s2client-api
s2client-api copied to clipboard
DebugSetShields(0, unit) can not set shields of a unit to 0
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.