diff options
Diffstat (limited to 'npc/functions/skills.txt')
-rw-r--r-- | npc/functions/skills.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/npc/functions/skills.txt b/npc/functions/skills.txt new file mode 100644 index 00000000..5273de34 --- /dev/null +++ b/npc/functions/skills.txt @@ -0,0 +1,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; +} + |