GetMana
Returns the current mana of the mobile with ObjID.
Возвращает текущую ману мобайла с ObjID.
function GetMana(ObjID: Cardinal): Integer;
Parameters:
- ObjID — ID of the mobile.
def GetMana(ObjID: int) -> int: ...
begin
while GetMana(Self) < 50 do
begin
UseSkill('Meditation');
Wait(5000);
end;
end.
while GetMana(Self()) < 50:
UseSkill('Meditation')
Wait(5000)