summaryrefslogtreecommitdiff
path: root/npc/functions/skills.txt
blob: 5273de34c1aa6593cc2676f9b3546c34d1d49180 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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;
}