Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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.