advanceCheck.inc Functions
 
 
Includes
The following inc files are included in advanceCheck.inc
":attributes:attributes_ex"
":skilllocks:common"
 

CheckStatsForSkill

Parameters
(mobile, skill_name)
Name Type
mobile Mobile to do the stat checks on.
skill_name Skill to get the stat advance list from.
Explanation
Performs a stat check on all stats that are listed within a skill's attributes.cfg elem.
Return Values
1 on success, 0 on failure
 

CheckStatAdvancement

Parameters
(mobile, stat_name, stat_mult)
Name Type
mobile Mobile to do the stat advancement check on.
stat_name Name of the stat to do the advancement check on.
stat_mult Multiplier to effect the chance of a gain. (rolled dice from an attributes.cfg StatCheck entry)
Explanation
Does an advancement check on a stat.
Return Values
1 on success, 0 on failure
 

CheckSkillAdvance

Parameters
(mobile, skill_name, award_diff, pass_chance, pretend:=0)
Name Type
mobile Mobile to do the skill advancement check on.
skill_name Name of the skill to check.
award_diff Difficulty to use for advancement award.
pass_chance Chance of getting a gain check.
pretend:=0 Do not actually make any skill changes (for testing).
Explanation
Does an advancement check on a skill and considers skill locks.
Return Values
Returns amount advanced on success, 0 on failure