From Stealth Client

Jump to: navigation, search


function MaxMana():Integer

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

Returns the char - the maximum amount of mana(Max Mana).

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

Example 1:

if (Mana < MaxMana) then
  UOSay('It's time for meditation');

Example 2:

AddToSystemJournal('Maximum Mana Chara:' + IntToStr(MaxMana));