summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}