(Official) LUA Scripting Documentation
add_skill_xp
Increase or decrease skill xp of the context actor.
Spec:
add_skill_xp(
string skill,
double xp)
Parameters
skill
: The skill to changexp
: The amount of xp to add (positive number) or subtract (negative number)
Valid values for skill: “Health”, “Strength”, “Attack”, “Defence”, “Ranged”, “Mining”, “Digging”, “Chopping”, “Building”, “Crafting”, “Smelting”, “Smithing”, “Farming”, “Cooking”, “Looting”
Incomplete
This documentation is incomplete