Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

GetMaxMana

Returns character property MaxMana (Mana Maximum)

Pascal Syntax:

function GetMaxMana(ObjID : Cardinal) : Integer;

Pascal Example:

if GetMana(Self) < GetMaxMana(Self) then
begin
  UseSkill('Meditation');
end;

Python Syntax:

def GetMaxMana(ObjID): --> int