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

GetMaxStam

Returns character property MaxStam (Stamina Maximum)

Pascal Syntax:

function GetMaxStam(ObjID : Cardinal) : Integer;

Pascal Example:

if GetStam(Self) < GetMaxStam(Self) div 2 then //half of stam
begin
  //drink stam potion, or wait
end;

Python Syntax:

def GetMaxStam(ObjID): --> int