BlzSetEventWeaponType

Parameters
weaponType weapontype
comment

Set the weapontype of a damage being taken. Can be used to modify the sound of impact in the event before armor reduction.

event
EVENT_UNIT_DAMAGED
patch

1.31.0.11889

Source
common.j
return type
boolean
Source code
native BlzSetEventWeaponType                       takes weapontype weaponType returns boolean