BlzGetUnitDiceSides

Parameters
whichUnitunit
weaponIndexinteger
comment

Get a unit’s dice sides (damage), weapon index can be either 0 and 1 (a unit can have two different attacks).

patch

1.29.2.9231

Source
common.j (raise an issue to discuss on Github or submit a PR)
return type
integer
Source code
native BlzGetUnitDiceSides                         takes unit whichUnit, integer weaponIndex returns integer