-- @param #string skillid The ID of the skill being leveled up
-- @param #SkillLevelUpSource source The source of the skill level up
-- @param #table params Modifiable skill level up values as a table. These values are calculated based on vanilla mechanics. Setting any value to nil will cause that mechanic to be skipped. By default contains these values:
--
-- * `skillIncreaseValue` - The numeric amount of skill levels gained.
-- * `levelUpProgress` - The numeric amount of level up progress gained.
-- * `levelUpAttribute` - The string identifying the attribute that should receive points from this skill level up.
-- * `levelUpAttributeIncreaseValue` - The numeric amount of attribute increase points received. This contributes to the amount of each attribute the character receives during a vanilla level up.
-- * `levelUpSpecialization` - The string identifying the specialization that should receive points from this skill level up.
-- * `levelUpSpecializationIncreaseValue` - The numeric amount of specialization increase points received. This contributes to the icon displayed at the level up screen during a vanilla level up.
--- Register a skill use, activating relevant handlers
-- @function [parent=#SkillProgression] skillUsed
-- @param #string skillid The if of the skill that was used
-- @param #SkillUseType useType A number from 0 to 3 (inclusive) representing the way the skill was used, with each use type having a different skill progression rate. Available use types and its effect is skill specific. See @{SkillProgression#skillUseType}
-- @param #number scale A number that linearly scales the skill progress received from this use. Defaults to 1.
skillUsed=skillUsed,
--- @{#SkillUseType}
-- @field [parent=#SkillProgression] #SkillUseType SKILL_USE_TYPES Available skill usage types
SKILL_USE_TYPES={
-- These are shared by multiple skills
Armor_HitByOpponent=0,
Block_Success=0,
Spellcast_Success=0,
Weapon_SuccessfulHit=0,
-- Skill-specific use types
Alchemy_CreatePotion=0,
Alchemy_UseIngredient=1,
Enchant_Recharge=0,
Enchant_UseMagicItem=1,
Enchant_CreateMagicItem=2,
Enchant_CastOnStrike=3,
Acrobatics_Jump=0,
Acrobatics_Fall=1,
Mercantile_Success=0,
Mercantile_Bribe=1,-- Note: This is bugged in vanilla and is not actually in use.
Security_DisarmTrap=0,
Security_PickLock=1,
Sneak_AvoidNotice=0,
Sneak_PickPocket=1,
Speechcraft_Success=0,
Speechcraft_Fail=1,
Armorer_Repair=0,
Athletics_RunOneSecond=0,
Athletics_SwimOneSecond=0,
},
--- Register a skill increase, activating relevant handlers
-- @function [parent=#SkillProgression] skillUsed
-- @param #string skillid The id of the skill to be increased.
-- @param #SkillLevelUpSource source The source of the skill increase.