diff options
author | shadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-13 10:13:14 +0000 |
---|---|---|
committer | shadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-06-13 10:13:14 +0000 |
commit | 8605b217a7e1c6ed424a8cdf6a987502e4cd6917 (patch) | |
tree | afc1e3f1f8262e9d7cb2d4c57221b99d7f32a65c /npc/kafras | |
parent | 578d813efbb35403bc477c5b876e509715ada52e (diff) | |
download | hercules-8605b217a7e1c6ed424a8cdf6a987502e4cd6917.tar.gz hercules-8605b217a7e1c6ed424a8cdf6a987502e4cd6917.tar.bz2 hercules-8605b217a7e1c6ed424a8cdf6a987502e4cd6917.tar.xz hercules-8605b217a7e1c6ed424a8cdf6a987502e4cd6917.zip |
Converted skill commands integers to strings. Follow up on r12814
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12819 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/kafras')
-rw-r--r-- | npc/kafras/cool_event_corp.txt | 12 | ||||
-rw-r--r-- | npc/kafras/functions_kafras.txt | 2 |
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) { |