Luo.Max
From OpenEUO
Revision as of 01:40, 2 November 2010 by Ximan (Talk | contribs) (Created page with "== Calling Convention == Call local f = sl.luo.Cur -- later local t = f() Args none Returns f is a function, which when called produces t t is a table of UO variable values...")
Calling Convention
Call
local f = sl.luo.Cur -- later local t = f()
Args
none
Returns
f is a function, which when called produces t t is a table of UO variable values
Example Usage
local l = sl.luo
local s = sl.str
local t,vo,v = {}, "", ""
while true do
t = l.Max()
vo = s.joinsep(" ",
t.Hits,
t.Mana,
t.Stam,
t.Weight)
repeat
t = l.Max()
v = s.joinsep(" ",
t.Hits,
t.Mana,
t.Stam,
t.Weight)
wait(100)
until v ~= vo
print("Maximums changed to: '..v)
end
Description
The live UO luo.Max method returns a table of current UO variable values at the time when it is called. Keys and values of the resultant table:
key value Dmg UO.MaxDmg, Fol UO.MaxFol, Hits UO.MaxHits, Mana UO.MaxMana, Min UO.MinDmg, Stam UO.MaxStam, Stats UO.MaxStats, Weight UO.MaxWeight,