GetMaxHP
Returns the maximum HP (hit points) of the mobile with ObjID.
Возвращает максимальные HP мобайла с ObjID.
function GetMaxHP(ObjID: Cardinal): Integer;
def GetMaxHP(ObjID: int) -> int: ...
begin
if GetHP(Self) < GetMaxHP(Self) then
begin
WaitTargetSelf;
UseObject(bandage_id);
end;
end.
if GetHP(Self()) < GetMaxHP(Self()):
WaitTargetSelf()
UseObject(bandage_id)