From Stealth Client

Jump to: navigation, search


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
  UOSay('Not full stamina');

Example 2:

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