summaryrefslogtreecommitdiff
path: root/npc/functions/main.txt
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-04-14 18:32:15 +0200
committerReid <reidyaro@gmail.com>2016-04-14 18:32:15 +0200
commit4ebb1449581f4e144661a21bdce3de64b9bf4d8f (patch)
tree080ab475134d840f04d859ac9fbaf77d05d024fc /npc/functions/main.txt
parent8ee2eaa6cf415b5a6b307fcb09d631bf39eccd07 (diff)
downloadserverdata-4ebb1449581f4e144661a21bdce3de64b9bf4d8f.tar.gz
serverdata-4ebb1449581f4e144661a21bdce3de64b9bf4d8f.tar.bz2
serverdata-4ebb1449581f4e144661a21bdce3de64b9bf4d8f.tar.xz
serverdata-4ebb1449581f4e144661a21bdce3de64b9bf4d8f.zip
Change the adddefaultskills function default level to 6 instead of 9.
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r--npc/functions/main.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index 420f2b79..cd71b8ea 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -43,7 +43,10 @@ function script col {
}
function script adddefaultskills {
- skill NV_BASIC, 9, 0;
+ if (getskilllv(NV_BASIC) < 6)
+ {
+ skill NV_BASIC, 6, 0;
+ }
return;
}