SkillManagerService

This service allows you to get information about your player, pet and partner skills.

Skill object

As response to the request you will get objects with the following structure:

{
    "vnum": 23,
    "name": "Piercing shot",
    "id": 3,
    "type": 0,
    "range": 7,
    "area": 2,
    "cast_time": 20,
    "cool_time": 150,
    "mana_cost": 25,
    "is_ready": true
}

getSkills

Returns a list with all your player skills.

findSkillFromId

Searchs for the skill with the given id. Returns the skill if found, otherwise returns an error.

findSkillFromVnum

Searchs for the skill with the given vnum. Returns the skill if found, otherwise returns an error.

getPetSkills

Returns a list with all your pet skills.

findPetSkillFromId

Searchs for the pet skill with the given id. Returns the skill if found, otherwise returns an error.

findPetSkillFromVnum

Searchs for the pet skill with the given vnum. Returns the skill if found, otherwise returns an error.

getPartnerSkills

Returns a list with all your partner skills.

findPartnerSkillFromId

Searchs for the partner skill with the given id. Returns the skill if found, otherwise returns an error.

findPartnerSkillFromVnum

Searchs for the partner skill with the given vnum. Returns the skill if found, otherwise returns an error.

Last updated