UnitDamageTargetBJ
- Parameters
-
whichUnit unit
target unit
amount real
whichAttack attacktype
whichDamage damagetype
- comment
- patch
1.17a
- Source
- Blizzard.j
- 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