BlzSetUnitDiceSides
- Parameters
whichUnit unitdiceSides integerweaponIndex integer- comment
Changes(set) unit’s dice sides (damage), weapon index can be either 0 and 1 (a unit can have two different attacks) at runtime.
- patch
1.29.2.9231
- Source
- common.j (suggest an edit or discuss on Github)
- return type
nothing- Source code
native BlzSetUnitDiceSides takes unit whichUnit, integer diceSides, integer weaponIndex returns nothing