summaryrefslogblamecommitdiff
path: root/npc/functions/skills.txt
blob: 5273de34c1aa6593cc2676f9b3546c34d1d49180 (plain) (tree)



















                                                      
// The Mana World scripts.
// Author:
//    The Mana World Team
// Description:
//    Controls script-based skills (which are rare);

function	script	SkillInvoked	{
    // Record to database that you used the skill
    skillInvoke[@skillId] = skillInvoke[@skillId] + 1;

    // Switch though skills for additional effects
    switch (@skillId) {
    default:
        // PS. I hate scripts.conf load order
        callfunc("GetManaExp", @skillId, 1);
        break;
    }
    return;
}