The source of the damage. To actual deal damage it should be not
The target being damaged.
How much damage is being dealt.
Consider the damage dealt as being an attack.
Consider the damage dealt as being from a ranged source.
Deals damage to target widget from a source unit.
For some insight about the different configurations of the different types see this post.
- return type
- Source code
native UnitDamageTarget takes unit whichUnit, widget target, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType returns boolean