Welcome to PenUltima Online. Click to login or register.

Functions:

GetSpellDifficulty( spellid )
Parameters:
Name Type
spellid Integer
Explanation
Gets spell "difficulty" based on spell circle number (config/circles.cfg).
Notes: spells.cfg files define spells and spell ids. "Difficulty" values are used in the function CheckSkill()
Return values
Integer difficulty value
Errors
"Invalid parameter"
"No such spell"
"Spell ID out of range"
Related Configs
circles.cfg