UO.GetSkill

From OpenEUO
Jump to: navigation, search

EUOX Equivelent: ChooseSkill [[1]]

Synopsis: nNorm, nReal, nCap, nLock = UO.GetSkill(sSkill)

Definition: Returns the folowing variables on the choosen skill:

Norm = numeric representation for the skill without bonus' (1000=100.0 i think) 
Real = numeric representation for the skill with bonus' (1000=100.0 i think) 
Cap = numeric representation for the skills cap (1000=100.0 i think) 
Lock = numeric representation for the skills lock status (0 is up, 1 is down, 2 is lock) 

Example:

local norm, real, cap, lock = UO.GetSkill("mage") 
print("Magery norm is "..norm) 
print("Magery real is "..real) 
print("Magery cap is "..cap) 
print("Magery lock is "..lock)


(Original Source:Swift74d[[2]])

UO.SkillLock