UnitDamageTargetBJ

Parameters
whichUnitunit
targetunit
amountreal
whichAttackattacktype
whichDamagedamagetype
comment
patch

1.17a

Source
Blizzard.j (suggest an edit or discuss on Github)
return type
boolean
Source code
function UnitDamageTargetBJ takes unit whichUnit, unit target, real amount, attacktype whichAttack, damagetype whichDamage returns boolean
    return UnitDamageTarget(whichUnit, target, amount, true, false, whichAttack, whichDamage, WEAPON_TYPE_WHOKNOWS)
endfunction