BlzGetUnitDiceNumber

Parameters
whichUnit unit
weaponIndex integer
comment

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

patch

1.29.2.9231

return type
integer
Source code
native BlzGetUnitDiceNumber                        takes unit whichUnit, integer weaponIndex returns integer
Source
common.j
wc3modding.com
BlzGetUnitDiceNumber