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

return type
boolean
Source code
native BlzSetEventWeaponType                       takes weapontype weaponType returns boolean
Source
unit-based-event-api.j
wc3modding.com
BlzSetEventWeaponType