AbandonSkill
Jump to navigation
Jump to search
The player abandons a skill.
AbandonSkill(skillLineID)
Arguments
- skillLineID
- number - The Skill Line ID (can be found with API GetProfessionInfo())
Example
local prof1, prof2, archaeology, fishing, cooking, firstAid = GetProfessions();
local skillLineID = select(7, GetProfessionInfo(prof1));
AbandonSkill(skillLineID);
Result
The player abandons a skill.
CAUTION: There is no confirmation dialog for this action. Use with care.