summaryrefslogtreecommitdiff
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
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.
-rw-r--r--npc/000-2-0/julia.txt2
-rw-r--r--npc/functions/main.txt5
2 files changed, 5 insertions, 2 deletions
diff --git a/npc/000-2-0/julia.txt b/npc/000-2-0/julia.txt
index d339b862..24e48d5f 100644
--- a/npc/000-2-0/julia.txt
+++ b/npc/000-2-0/julia.txt
@@ -50,7 +50,7 @@ L_Menu:
rif(.@q3 == 3 && .@q2 == 0, l("I heard rumors about some old hostilities between you and Gado. Are they true?")), L_Rumors,
rif(.@q2 == 2 && countitem(717), l("Well... No wait, I have something for you but you shouldn't eat it... I'm taking it back to the kitchen.")), L_Regret,
rif(.@q2 == 2 && countitem(717), l("I have brought you a tasty present for your delicate mouth.")), L_PoisonJulia,
- rif(getskilllv(1) != 9, l("Something is wrong with me, I can't smile nor sit.")), L_BasicSkill,
+ rif(getskilllv(NV_BASIC) < 6, l("Something is wrong with me, I can't smile nor sit.")), L_BasicSkill,
lg("I made a mistake, I would like to change my language."), L_ChooseLang,
l("Could you explain to me where I am?"), L_WhereIam,
l("What happened to me?"), L_What,
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;
}