GetMaxMana
Returns the maximum mana of the mobile with ObjID.
Возвращает максимальную ману мобайла с ObjID.
function GetMaxMana(ObjID: Cardinal): Integer;
def GetMaxMana(ObjID: int) -> int: ...
begin
if GetMana(Self) < GetMaxMana(Self) then
UseSkill('Meditation');
end.
if GetMana(Self()) < GetMaxMana(Self()):
UseSkill('Meditation')