BlzSetUnitBaseDamage

Parameters
whichUnit unit
baseDamage integer
weaponIndex integer
comment

Change(set) a unit’s base 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
return type
nothing
Source code
native BlzSetUnitBaseDamage                        takes unit whichUnit, integer baseDamage, integer weaponIndex returns nothing