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
}

getSkills

Returns a list with all your player skills.

// Request
{
    "service": "SkillManagerService",
    "method": "getSkills",
    "params": {}
}

// Response
{
    "status": "ok",
    "result": {
        "skills": [
            // skill 1,
            // skill 2,
            // [...]
        ]
    }
}

findSkillFromId

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

// Request
{
    "service": "SkillManagerService",
    "method": "findSkillFromId",
    "params": {
        "id": 3
    }
}

// Response
{
    "status": "ok",
    "result": {
        // Skill information
    }
}

findSkillFromVnum

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

// Request
{
    "service": "SkillManagerService",
    "method": "findSkillFromVnum",
    "params": {
        "vnum": 332
    }
}

// Response
{
    "status": "ok",
    "result": {
        // Skill information
    }
}

getPetSkills

Returns a list with all your pet skills.

// Request
{
    "service": "SkillManagerService",
    "method": "getPetSkills",
    "params": {}
}

// Response
{
    "status": "ok",
    "result": {
        "skills": [
            // skill 1,
            // skill 2,
            // [...]
        ]
    }
}

findPetSkillFromId

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

// Request
{
    "service": "SkillManagerService",
    "method": "findPetSkillFromId",
    "params": {
        "id": 2
    }
}

// Response
{
    "status": "ok",
    "result": {
        // Skill information
    }
}

findPetSkillFromVnum

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

// Request
{
    "service": "SkillManagerService",
    "method": "findPetSkillFromVnum",
    "params": {
        "vnum": 621
    }
}

// Response
{
    "status": "ok",
    "result": {
        // Skill information
    }
}

getPartnerSkills

Returns a list with all your partner skills.

// Request
{
    "service": "SkillManagerService",
    "method": "getPartnerSkills",
    "params": {}
}

// Response
{
    "status": "ok",
    "result": {
        "skills": [
            // skill 1,
            // skill 2,
            // [...]
        ]
    }
}

findPartnerSkillFromId

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

// Request
{
    "service": "SkillManagerService",
    "method": "findPartnerSkillFromId",
    "params": {
        "id": 1
    }
}

// Response
{
    "status": "ok",
    "result": {
        // Skill information
    }
}

findPartnerSkillFromVnum

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

// Request
{
    "service": "SkillManagerService",
    "method": "findPartnerSkillFromVnum",
    "params": {
        "vnum": 231
    }
}

// Response
{
    "status": "ok",
    "result": {
        // Skill information
    }
}

Last updated