summaryrefslogtreecommitdiff
path: root/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt')
-rw-r--r--npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt b/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt
index 79daa71d5..b8f96d09e 100644
--- a/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt
+++ b/npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt
@@ -300,7 +300,7 @@ L_HEAL_ALL:
//Function storage: allows access to the storage facility
//The sent argument is the displaying image, so we can clear it afterwards.
function script F_keStorage {
- if(basicskillcheck() > 0 && getskilllv(1) < 6) {
+ if(basicskillcheck() > 0 && getskilllv("NV_BASIC") < 6) {
callfunc "F_keIntro", -1, "I am sorry, but you beed basic skill level 6 to use the storage.";
return;
}
@@ -318,7 +318,7 @@ function script F_keStorage {
//Function G Storage: Allows access to the Guild Storage
function script F_keGuildStorage {
- if(basicskillcheck() > 0 && getskilllv(1) < 6) {
+ if(basicskillcheck() > 0 && getskilllv("NV_BASIC") < 6) {
callfunc "F_keIntro", -1, "I am sorry, but you beed basic skill level 6 to use the storage.";
return;
}