summaryrefslogtreecommitdiff
path: root/npc/functions/skills.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/skills.txt')
-rw-r--r--npc/functions/skills.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/functions/skills.txt b/npc/functions/skills.txt
index 568c97d9..5273de34 100644
--- a/npc/functions/skills.txt
+++ b/npc/functions/skills.txt
@@ -8,6 +8,13 @@ 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;
}