From Stealth Client

Jump to: navigation, search


MaxStam

function MaxStam():Integer

In 99% of the same Dex. Can differ only if the admin changes the parameters specifically object(char, SPC) and puts his hands MaxStam different from Dex(usually in a big way).

Returns the chara - the maximum amount of stamina(Max Stamina).

If there is no connection to the UO server - returns 0.

Example 1:

if (Stam < MaxStam) then
begin
  UOSay('Not full stamina');
end;

Example 2:

AddToSystemJournal('Maximum Stamina Chara:' + IntToStr(MaxStam));