From 4ebb1449581f4e144661a21bdce3de64b9bf4d8f Mon Sep 17 00:00:00 2001 From: Reid Date: Thu, 14 Apr 2016 18:32:15 +0200 Subject: Change the adddefaultskills function default level to 6 instead of 9. --- npc/000-2-0/julia.txt | 2 +- npc/functions/main.txt | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'npc') 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; } -- cgit v1.2.3-70-g09d2