Jass:UnitDamageTargetBJ
Aus Mappedia
| Funktion: UnitDamageTargetBJ | |
|---|---|
| Parameter: | unit unit real attacktype damagetype |
| Rückgabewert: | boolean |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Siehe UnitDamageTarget.
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
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| unit | whichUnit | |
| unit | target | |
| real | amount | |
| attacktype | whichAttack | |
| damagetype | whichDamage |
