Jass:GetUnitLifePercent
Aus Mappedia
| Funktion: GetUnitLifePercent | |
|---|---|
| Parameter: | unit |
| Rückgabewert: | real |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function GetUnitLifePercent takes unit whichUnit returns real return GetUnitStatePercent(whichUnit, UNIT_STATE_LIFE, UNIT_STATE_MAX_LIFE) endfunction
Parameter
| Typ | Name | Beschreibung |
|---|---|---|
| unit | whichUnit |
