Difference between revisions of "UO.GetSkill"

From OpenEUO
Jump to: navigation, search
Line 1: Line 1:
[[EUOX Equivelent:]] ChooseSkill [http://wiki.easyuo.com/index.php/ChooseSkill]
+
'''EUOX Equivelent:''' ChooseSkill [[http://wiki.easyuo.com/index.php/ChooseSkill]]
  
[[Synopsis:]] nNorm, nReal, nCap, nLock = UO.GetSkill(sSkill)
+
'''Synopsis:''' nNorm, nReal, nCap, nLock = UO.GetSkill(sSkill)
  
[[Definition:]] Returns the folowing variables on the choosen skill:
+
'''Definition:''' Returns the folowing variables on the choosen skill:
 
  Norm = numeric representation for the skill without bonus' (1000=100.0 i think)  
 
  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)  
 
  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)  
 
  Cap = numeric representation for the skills cap (1000=100.0 i think)  
 
  Lock = numeric representation for the skills lock status (unsure of what the legend is for this)  
 
  Lock = numeric representation for the skills lock status (unsure of what the legend is for this)  
[[Example:]]
+
'''Example:'''
 
  local norm, real, cap, lock = UO.GetSkill("mage")  
 
  local norm, real, cap, lock = UO.GetSkill("mage")  
 
  print("Magery norm is "..norm)  
 
  print("Magery norm is "..norm)  
Line 17: Line 17:
  
  
(Original Source:Swift74d[http://www.easyuo.com/forum/viewtopic.php?t=43220])
+
(Original Source:Swift74d[[http://www.easyuo.com/forum/viewtopic.php?t=43220]])

Revision as of 06:43, 5 October 2010

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 (unsure of what the legend is for this) 

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]])