summaryrefslogtreecommitdiff
path: root/npc/kafras
diff options
context:
space:
mode:
Diffstat (limited to 'npc/kafras')
-rw-r--r--npc/kafras/cool_event_corp.txt12
-rw-r--r--npc/kafras/functions_kafras.txt2
2 files changed, 7 insertions, 7 deletions
diff --git a/npc/kafras/cool_event_corp.txt b/npc/kafras/cool_event_corp.txt
index 2a54e39d0..5b7f50813 100644
--- a/npc/kafras/cool_event_corp.txt
+++ b/npc/kafras/cool_event_corp.txt
@@ -45,7 +45,7 @@ hugel,88,168,4 script Cool Event Corp. Staff::CoolEventCorpStaffHugel 874,{
end;
case 2:
mes "[Cool Event Corp. Staff]";
- if(basicskillcheck() && getskilllv(1) < 6){
+ if(basicskillcheck() && getskilllv("NV_BASIC") < 6){
mes "I'm sorry, but you";
mes "need the Novice's";
mes "Basic Skill Level 6 to";
@@ -92,7 +92,7 @@ hugel,88,168,4 script Cool Event Corp. Staff::CoolEventCorpStaffHugel 874,{
cutin "", 255;
end;
}
- if(getskilllv(39) == 0){
+ if(getskilllv("MC_PUSHCART") == 0){
mes "You can only rent a cart after";
mes "learning the Pushcart Skill.";
close2;
@@ -187,7 +187,7 @@ rachel,109,138,5 script Cool Event Corp. Staff::CoolEventCorpStaffRachel 874,{
end;
case 2:
mes "[Cool Event Corp. Staff]";
- if(basicskillcheck() && getskilllv(1) < 6){
+ if(basicskillcheck() && getskilllv("NV_BASIC") < 6){
mes "I'm sorry, but you";
mes "need the Novice's";
mes "Basic Skill Level 6 to";
@@ -232,7 +232,7 @@ rachel,109,138,5 script Cool Event Corp. Staff::CoolEventCorpStaffRachel 874,{
cutin "", 255;
end;
}
- if(getskilllv(39) == 0){
+ if(getskilllv("MC_PUSHCART") == 0){
mes "You can only rent a cart after";
mes "learning the Pushcart Skill.";
close2;
@@ -327,7 +327,7 @@ veins,208,128,5 script Cool Event Corp. Staff::CoolEventCorpStaffVeins 874,{
end;
case 2:
mes "[Cool Event Corp. Staff]";
- if(basicskillcheck() && getskilllv(1) < 6){
+ if(basicskillcheck() && getskilllv("NV_BASIC") < 6){
mes "I'm sorry, but you";
mes "need the Novice's";
mes "Basic Skill Level 6 to";
@@ -372,7 +372,7 @@ veins,208,128,5 script Cool Event Corp. Staff::CoolEventCorpStaffVeins 874,{
cutin "", 255;
end;
}
- if(getskilllv(39) == 0){
+ if(getskilllv("MC_PUSHCART") == 0){
mes "You can only rent a cart after";
mes "learning the Pushcart Skill.";
close2;
diff --git a/npc/kafras/functions_kafras.txt b/npc/kafras/functions_kafras.txt
index dc135e457..af86f54c7 100644
--- a/npc/kafras/functions_kafras.txt
+++ b/npc/kafras/functions_kafras.txt
@@ -272,7 +272,7 @@ function script F_KafStor {
}
// Unable to access Normal Storage (Insufficient Basic Skills)
- if(basicskillcheck() && getskilllv(1) < 6){
+ if(basicskillcheck() && getskilllv("NV_BASIC") < 6){
mes "[Kafra Employee]";
// Niflheim Specific Message
if (getarg(2) == 1) {