summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorshadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-13 10:13:14 +0000
committershadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-13 10:13:14 +0000
commit8605b217a7e1c6ed424a8cdf6a987502e4cd6917 (patch)
treeafc1e3f1f8262e9d7cb2d4c57221b99d7f32a65c /npc
parent578d813efbb35403bc477c5b876e509715ada52e (diff)
downloadhercules-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')
-rw-r--r--npc/Changelog.txt1
-rw-r--r--npc/custom/breeder.txt6
-rw-r--r--npc/custom/eAAC_Scripts/kafraExpress/ke_jobswap.txt4
-rw-r--r--npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt4
-rw-r--r--npc/custom/eAAC_Scripts/kafraExpress/ke_rent.txt6
-rw-r--r--npc/custom/eAAC_Scripts/kafraExpress/ke_stats.txt2
-rw-r--r--npc/custom/eAAC_Scripts/quest_warper.txt2
-rw-r--r--npc/custom/events/xmas_rings_event.txt4
-rw-r--r--npc/guild/agit_template.txt2
-rw-r--r--npc/guild2/arug_cas01.txt2
-rw-r--r--npc/guild2/arug_cas02.txt2
-rw-r--r--npc/guild2/arug_cas03.txt2
-rw-r--r--npc/guild2/arug_cas04.txt2
-rw-r--r--npc/guild2/arug_cas05.txt2
-rw-r--r--npc/guild2/schg_cas01.txt2
-rw-r--r--npc/guild2/schg_cas02.txt2
-rw-r--r--npc/guild2/schg_cas03.txt2
-rw-r--r--npc/guild2/schg_cas04.txt2
-rw-r--r--npc/guild2/schg_cas05.txt2
-rw-r--r--npc/jobs/1-1/acolyte.txt4
-rw-r--r--npc/jobs/1-1/archer.txt4
-rw-r--r--npc/jobs/1-1/mage.txt4
-rw-r--r--npc/jobs/1-1/merchant.txt4
-rw-r--r--npc/jobs/1-1/swordman.txt6
-rw-r--r--npc/jobs/1-1/thief.txt4
-rw-r--r--npc/jobs/1-1e/taekwon.txt2
-rw-r--r--npc/jobs/2-2a/Creator.txt2
-rw-r--r--npc/jobs/novice/supernovice.txt4
-rw-r--r--npc/kafras/cool_event_corp.txt12
-rw-r--r--npc/kafras/functions_kafras.txt2
-rw-r--r--npc/merchants/renters.txt6
-rw-r--r--npc/other/gympass.txt6
-rw-r--r--npc/quests/first_class/tu_acolyte.txt14
-rw-r--r--npc/quests/first_class/tu_archer.txt8
-rw-r--r--npc/quests/first_class/tu_merchant.txt26
-rw-r--r--npc/quests/first_class/tu_sword.txt28
-rw-r--r--npc/quests/first_class/tu_thief01.txt12
-rw-r--r--npc/quests/quests_rachel.txt2
-rw-r--r--npc/quests/skills/acolyte_skills.txt2
-rw-r--r--npc/quests/skills/archer_skills.txt4
-rw-r--r--npc/quests/skills/assassin_skills.txt16
-rw-r--r--npc/quests/skills/bard_skills.txt6
-rw-r--r--npc/quests/skills/blacksmith_skills.txt12
-rw-r--r--npc/quests/skills/crusader_skills.txt10
-rw-r--r--npc/quests/skills/dancer_skills.txt8
-rw-r--r--npc/quests/skills/hunter_skills.txt4
-rw-r--r--npc/quests/skills/knight_skills.txt6
-rw-r--r--npc/quests/skills/mage_skills.txt4
-rw-r--r--npc/quests/skills/merchant_skills.txt12
-rw-r--r--npc/quests/skills/monk_skills.txt10
-rw-r--r--npc/quests/skills/priest_skills.txt12
-rw-r--r--npc/quests/skills/sage_skills.txt15
-rw-r--r--npc/quests/skills/swordman_skills.txt14
-rw-r--r--npc/quests/skills/wizard_skills.txt6
54 files changed, 172 insertions, 170 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt
index fdcac832d..a8b4cb406 100644
--- a/npc/Changelog.txt
+++ b/npc/Changelog.txt
@@ -2,6 +2,7 @@ Date Added
======
2008/06/13
+ * Converted getskilllv and skill commands integers to strings. Follow up on r12814
* Fixed stripped hairband and blue hairband checking the wrong amount of items, bugreport:1674 [Brainstorm]
2008/06/08
diff --git a/npc/custom/breeder.txt b/npc/custom/breeder.txt
index 8db0ff76c..798d81585 100644
--- a/npc/custom/breeder.txt
+++ b/npc/custom/breeder.txt
@@ -33,7 +33,7 @@ L_Cart:
close;
L_Cart_Ok:
- if(getskilllv(39)<1) goto L_Need_Skill;
+ if(getskilllv("MC_PUSHCART")<1) goto L_Need_Skill;
setcart;
goto L_Quit2;
@@ -44,7 +44,7 @@ L_Need_Skill:
L_Falcon:
if(BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0) goto L_Falc;
- if(getskilllv(127)<1) goto L_Need_Skill2;
+ if(getskilllv("HT_FALCON")<1) goto L_Need_Skill2;
mes "[Universal Rental Npc]";
mes "Sorry " + strcharinfo(0) + ", but I only rent falcons to Hunters and Snipers who the ability to handle 'em.";
@@ -61,7 +61,7 @@ L_Need_Skill2:
L_Peco:
if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0) goto L_Peco_Ok;
- if(getskilllv(63)<1) goto L_Need_Skill3;
+ if(getskilllv("KN_RIDING")<1) goto L_Need_Skill3;
mes "[Universal Rental Npc]";
mes "Sorry " + strcharinfo(0) + ", but I only rent Pecopecos to Knights and Crusaders who have the ability to handle 'em.";
diff --git a/npc/custom/eAAC_Scripts/kafraExpress/ke_jobswap.txt b/npc/custom/eAAC_Scripts/kafraExpress/ke_jobswap.txt
index af5ae6942..adda7149e 100644
--- a/npc/custom/eAAC_Scripts/kafraExpress/ke_jobswap.txt
+++ b/npc/custom/eAAC_Scripts/kafraExpress/ke_jobswap.txt
@@ -292,7 +292,7 @@ function SF_swapJob {
return 0;
}
- set @basic, getSkilllv(1);
+ set @basic, getSkilllv("NV_BASIC");
set @skillpoint, skillpointcount() -JobLevel -@basic +@newjoblv; //Preserve holds the final amount of SkillPoints you should have.
if (@skillpoint < 0) {
@@ -349,7 +349,7 @@ function SF_revertJob {
set @thisJobId, Class;
set @thisJobLv, JobLevel;
- set @basic, getSkilllv(1);
+ set @basic, getSkilllv("NV_BASIC");
resetSkill;
set @skill, SkillPoint;
if($@kejs_saveDye) {
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;
}
diff --git a/npc/custom/eAAC_Scripts/kafraExpress/ke_rent.txt b/npc/custom/eAAC_Scripts/kafraExpress/ke_rent.txt
index 82085a03f..9d3b52529 100644
--- a/npc/custom/eAAC_Scripts/kafraExpress/ke_rent.txt
+++ b/npc/custom/eAAC_Scripts/kafraExpress/ke_rent.txt
@@ -35,7 +35,7 @@ function script F_keRent {
}
switch (@kmenu) {
case 2: //Cart
- if (getskilllv(39)==0) {
+ if (getskilllv("MC_PUSHCART")==0) {
callfunc "F_keIntro", -1, "Sorry, only those with the skill 'Pushcart' may rent a Cart.";
} else
if (checkcart()) {
@@ -49,7 +49,7 @@ function script F_keRent {
}
break;
case 3: //Falcon
- if (getskilllv(127)==0) {
+ if (getskilllv("HT_FALCON")==0) {
callfunc "F_keIntro", -1, "Sorry, only those with the skill 'Falcon Taming' may rent a Falcon.";
} else
if (checkfalcon()) {
@@ -63,7 +63,7 @@ function script F_keRent {
}
break;
case 4: //pecopeco
- if (getskilllv(63)==0) {
+ if (getskilllv("KN_RIDING")==0) {
callfunc "F_keIntro", -1, "Sorry, only those with the skill 'PecoPeco Riding' may rent a PecoPeco.";
} else
if (checkriding()) {
diff --git a/npc/custom/eAAC_Scripts/kafraExpress/ke_stats.txt b/npc/custom/eAAC_Scripts/kafraExpress/ke_stats.txt
index 73618c9eb..064753fe7 100644
--- a/npc/custom/eAAC_Scripts/kafraExpress/ke_stats.txt
+++ b/npc/custom/eAAC_Scripts/kafraExpress/ke_stats.txt
@@ -66,7 +66,7 @@ function script F_keStats {
if ($@kest_resetBasic)
ResetSkill;
else {
- set @skill1,getskilllv(1);
+ set @skill1,getskilllv("NV_BASIC");
ResetSkill;
skill 1,@skill1,0;
set SkillPoint,SkillPoint-@skill1;
diff --git a/npc/custom/eAAC_Scripts/quest_warper.txt b/npc/custom/eAAC_Scripts/quest_warper.txt
index 106ba7c8a..c61b46417 100644
--- a/npc/custom/eAAC_Scripts/quest_warper.txt
+++ b/npc/custom/eAAC_Scripts/quest_warper.txt
@@ -581,7 +581,7 @@ Zeny_short_SP:
L_Storage:
next;
- if(basicskillcheck() > 0 && getskilllv(1) < 6) goto L_StorageJBlow;
+ if(basicskillcheck() > 0 && getskilllv("NV_BASIC") < 6) goto L_StorageJBlow;
set @fee, $QW_S_PRICE;
if ($QW_S_PRICE == 60)&&(BaseJob == Job_Novice) set @fee, 30;
if ($QW_S_PRICE == 60)&&(BaseJob != Job_Novice) set @fee, 60;
diff --git a/npc/custom/events/xmas_rings_event.txt b/npc/custom/events/xmas_rings_event.txt
index a5d442e06..39c178096 100644
--- a/npc/custom/events/xmas_rings_event.txt
+++ b/npc/custom/events/xmas_rings_event.txt
@@ -93,9 +93,9 @@ OnInit:
//Santa's Hat
setitemscript 2236,"{ bonus bMdef,1; bonus bLuk,1; if(isequipped(2636,2637)){if(@xmr == gettime(2))end; set @xmr,gettime(2); misceffect 410; end;} if(isequipped(2636)){if(@xmr == gettime(2))end; set @xmr,gettime(2); misceffect 72;} if(isequipped(2637)){if(@xmr == gettime(2))end; set @xmr,gettime(2); misceffect 338;}}";
//Gold Xmas Ring
- setitemscript 2636,"{ bonus bLoseSPWhenUnequip,30; if(isequipped(2236)==0)end; if(getskilllv(28)){skill 51,4+isequipped(2637);}else{skill 28,1+4*isequipped(2637);} }";
+ setitemscript 2636,"{ bonus bLoseSPWhenUnequip,30; if(isequipped(2236)==0)end; if(getskilllv("AL_HEAL")){skill "TF_HIDING",4+isequipped(2637);}else{skill "AL_HEAL",1+4*isequipped(2637);} }";
//Silver Xmas Ring
- setitemscript 2637,"{ bonus bDamageWhenUnequip,40; if(isequipped(2236)==0)end; if(getskilllv(26)){skill 40,1;}else{skill 26,1+isequipped(2636);} }";
+ setitemscript 2637,"{ bonus bDamageWhenUnequip,40; if(isequipped(2236)==0)end; if(getskilllv("AL_TELEPORT")){skill "MC_IDENTIFY",1;}else{skill "AL_TELEPORT",1+isequipped(2636);} }";
end;
}
diff --git a/npc/guild/agit_template.txt b/npc/guild/agit_template.txt
index ae9251609..9163ab582 100644
--- a/npc/guild/agit_template.txt
+++ b/npc/guild/agit_template.txt
@@ -928,7 +928,7 @@ OnGuardianDied:
next;
switch(select("Use Storage:Use Guild Storage:Use Warp Service:Rent a Cart:Cancel")) {
case 1:
- if (basicskillcheck() && getskilllv(1) < 6) {
+ if (basicskillcheck() && getskilllv("NV_BASIC") < 6) {
mes "[Kafra staff]";
mes "I am sorry but you have to be at least Novice skill level 6 if you want to use the storage.";
}
diff --git a/npc/guild2/arug_cas01.txt b/npc/guild2/arug_cas01.txt
index 8aff1c173..35eb6c276 100644
--- a/npc/guild2/arug_cas01.txt
+++ b/npc/guild2/arug_cas01.txt
@@ -2682,7 +2682,7 @@ arug_cas01,31,362,3 script Kafra Employee#aru01 117,{
next;
switch(select("Use Storage:Use Warp Service:Rent Pushcart:Cancel")) {
case 1:
- if (basicskillcheck() && getskilllv(1) < 6) {
+ if (basicskillcheck() && getskilllv("NV_BASIC") < 6) {
mes "[Kafra Employee]";
mes "I'm so sorry, but you must";
mes "have at least Novice Skill";
diff --git a/npc/guild2/arug_cas02.txt b/npc/guild2/arug_cas02.txt
index baf39e19f..b3c5f3473 100644
--- a/npc/guild2/arug_cas02.txt
+++ b/npc/guild2/arug_cas02.txt
@@ -2637,7 +2637,7 @@ arug_cas02,354,326,3 script Kafra Employee#aru02 117,{
next;
switch(select("Use Storage:Use Warp Service:Rent Pushcart:Cancel")) {
case 1:
- if (basicskillcheck() && getskilllv(1) < 6) {
+ if (basicskillcheck() && getskilllv("NV_BASIC") < 6) {
mes "[Kafra Employee]";
mes "I'm so sorry, but you must";
mes "have at least Novice Skill";
diff --git a/npc/guild2/arug_cas03.txt b/npc/guild2/arug_cas03.txt
index 37a2df7ce..1129f6285 100644
--- a/npc/guild2/arug_cas03.txt
+++ b/npc/guild2/arug_cas03.txt
@@ -2684,7 +2684,7 @@ arug_cas03,315,98,5 script Kafra Employee#aru03 117,{
next;
switch(select("Use Storage:Use Warp Service:Rent Pushcart:Cancel")) {
case 1:
- if (basicskillcheck() && getskilllv(1) < 6) {
+ if (basicskillcheck() && getskilllv("NV_BASIC") < 6) {
mes "[Kafra Employee]";
mes "I'm so sorry, but you must";
mes "have at least Novice Skill";
diff --git a/npc/guild2/arug_cas04.txt b/npc/guild2/arug_cas04.txt
index 58d074454..e718e48ad 100644
--- a/npc/guild2/arug_cas04.txt
+++ b/npc/guild2/arug_cas04.txt
@@ -2683,7 +2683,7 @@ arug_cas04,315,98,5 script Kafra Employee#aru04 117,{
next;
switch(select("Use Storage:Use Warp Service:Rent Pushcart:Cancel")) {
case 1:
- if (basicskillcheck() && getskilllv(1) < 6) {
+ if (basicskillcheck() && getskilllv("NV_BASIC") < 6) {
mes "[Kafra Employee]";
mes "I'm so sorry, but you must";
mes "have at least Novice Skill";
diff --git a/npc/guild2/arug_cas05.txt b/npc/guild2/arug_cas05.txt
index 1cf307681..0a052f13a 100644
--- a/npc/guild2/arug_cas05.txt
+++ b/npc/guild2/arug_cas05.txt
@@ -2684,7 +2684,7 @@ arug_cas05,315,98,5 script Kafra Employee#aru05 117,{
next;
switch(select("Use Storage:Use Warp Service:Rent Pushcart:Cancel")) {
case 1:
- if (basicskillcheck() && getskilllv(1) < 6) {
+ if (basicskillcheck() && getskilllv("NV_BASIC") < 6) {
mes "[Kafra Employee]";
mes "I'm so sorry, but you must";
mes "have at least Novice Skill";
diff --git a/npc/guild2/schg_cas01.txt b/npc/guild2/schg_cas01.txt
index 1a9cfd8a7..d116d7c61 100644
--- a/npc/guild2/schg_cas01.txt
+++ b/npc/guild2/schg_cas01.txt
@@ -2686,7 +2686,7 @@ schg_cas01,300,287,5 script Kafra Employee#sch01 117,{
next;
switch(select("Use Storage:Use Warp Service:Rent Pushcart:Cancel")) {
case 1:
- if (basicskillcheck() && getskilllv(1) < 6) {
+ if (basicskillcheck() && getskilllv("NV_BASIC") < 6) {
mes "[Kafra Employee]";
mes "I'm so sorry, but you must";
mes "have at least Novice Skill";
diff --git a/npc/guild2/schg_cas02.txt b/npc/guild2/schg_cas02.txt
index c4917fedb..34a17e80f 100644
--- a/npc/guild2/schg_cas02.txt
+++ b/npc/guild2/schg_cas02.txt
@@ -2621,7 +2621,7 @@ schg_cas02,131,365,3 script Kafra Employee#sch02 117,{
next;
switch(select("Use Storage:Use Warp Service:Rent Pushcart:Cancel")) {
case 1:
- if (basicskillcheck() && getskilllv(1) < 6) {
+ if (basicskillcheck() && getskilllv("NV_BASIC") < 6) {
mes "[Kafra Employee]";
mes "I'm so sorry, but you must";
mes "have at least Novice Skill";
diff --git a/npc/guild2/schg_cas03.txt b/npc/guild2/schg_cas03.txt
index 8c0a3b44c..33b3be12b 100644
--- a/npc/guild2/schg_cas03.txt
+++ b/npc/guild2/schg_cas03.txt
@@ -2678,7 +2678,7 @@ schg_cas03,50,50,3 script Kafra Employee#sch03 117,{
next;
switch(select("Use Storage:Use Warp Service:Rent Pushcart:Cancel")) {
case 1:
- if (basicskillcheck() && getskilllv(1) < 6) {
+ if (basicskillcheck() && getskilllv("NV_BASIC") < 6) {
mes "[Kafra Employee]";
mes "I'm so sorry, but you must";
mes "have at least Novice Skill";
diff --git a/npc/guild2/schg_cas04.txt b/npc/guild2/schg_cas04.txt
index 54bda5d5b..d55196830 100644
--- a/npc/guild2/schg_cas04.txt
+++ b/npc/guild2/schg_cas04.txt
@@ -2684,7 +2684,7 @@ schg_cas04,300,287,5 script Kafra Employee#sch04 117,{
next;
switch(select("Use Storage:Use Warp Service:Rent Pushcart:Cancel")) {
case 1:
- if (basicskillcheck() && getskilllv(1) < 6) {
+ if (basicskillcheck() && getskilllv("NV_BASIC") < 6) {
mes "[Kafra Employee]";
mes "I'm so sorry, but you must";
mes "have at least Novice Skill";
diff --git a/npc/guild2/schg_cas05.txt b/npc/guild2/schg_cas05.txt
index a55ad2226..e1b9a5280 100644
--- a/npc/guild2/schg_cas05.txt
+++ b/npc/guild2/schg_cas05.txt
@@ -2684,7 +2684,7 @@ schg_cas05,300,287,5 script Kafra Employee#sch05 117,{
next;
switch(select("Use Storage:Use Warp Service:Rent Pushcart:Cancel")) {
case 1:
- if (basicskillcheck() && getskilllv(1) < 6) {
+ if (basicskillcheck() && getskilllv("NV_BASIC") < 6) {
mes "[Kafra Employee]";
mes "I'm so sorry, but you must";
mes "have at least Novice Skill";
diff --git a/npc/jobs/1-1/acolyte.txt b/npc/jobs/1-1/acolyte.txt
index e2b8917d4..92426ddf5 100644
--- a/npc/jobs/1-1/acolyte.txt
+++ b/npc/jobs/1-1/acolyte.txt
@@ -35,7 +35,7 @@ prt_church,184,41,4 script Cleric#aco 60,{
mes "Ah, I sense you have endured";
mes "a past life experience. You must have learned many things before entering Valhalla.";
next;
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "[Father Mareusis]";
mes "Unfortunately, I don't think you're ready to become an Acolyte yet. Please finish learning all of the Basic Skills first.";
next;
@@ -131,7 +131,7 @@ prt_church,184,41,4 script Cleric#aco 60,{
mes "Oh, you've come back. Let me check and see if you are ready to serve God. Let's see...";
next;
mes "[Father Mareusis]";
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "Good Lord! Haven't you accomplished the Basic Training yet?! It's important that you finish that!";
next;
mes "[Father Mareusis]";
diff --git a/npc/jobs/1-1/archer.txt b/npc/jobs/1-1/archer.txt
index 8360b99c8..e63cbde43 100644
--- a/npc/jobs/1-1/archer.txt
+++ b/npc/jobs/1-1/archer.txt
@@ -35,7 +35,7 @@ payon_in02,64,71,4 script Archer Guildsman#archer 85,{
mes "to Valhalla and been reborn.";
mes "Wow, that's so impressive!";
next;
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "[Archer Guildsman]";
mes "Err...";
mes "You'd better learn all the Basic Skills first before you can become an Archer.";
@@ -122,7 +122,7 @@ payon_in02,64,71,4 script Archer Guildsman#archer 85,{
mes "[Archer Guildsman]";
mes "Are you..." + strcharinfo(0) + "?";
next;
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "[Archer Guildsman]";
mes "Well, you're not at the right job level. Please check the requirements again.";
next;
diff --git a/npc/jobs/1-1/mage.txt b/npc/jobs/1-1/mage.txt
index cb901323b..ce9b1b1c9 100644
--- a/npc/jobs/1-1/mage.txt
+++ b/npc/jobs/1-1/mage.txt
@@ -32,7 +32,7 @@ geffen_in,164,124,4 script Mage Guildsman 123,{
mes "[Mage Guildsman]";
mes "Ah, you must have been reborn. Well, I'm glad to have you back.";
next;
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "[Mage Guildsman]";
mes "I'm sorry, but I don't think you're ready to learn magic yet. Why don't you go finish learning the Basic Skills first?";
next;
@@ -136,7 +136,7 @@ geffen_in,164,124,4 script Mage Guildsman 123,{
close;
}
mes "Yeah? Ready...?";
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "Oh, what a bummer. You haven't met the requirements yet.";
next;
mes "[Mage Guildsman]";
diff --git a/npc/jobs/1-1/merchant.txt b/npc/jobs/1-1/merchant.txt
index 2c0fb1284..4b2fe8218 100644
--- a/npc/jobs/1-1/merchant.txt
+++ b/npc/jobs/1-1/merchant.txt
@@ -40,7 +40,7 @@ alberta_in,53,43,6 script Merchant#mer 86,{
mes "Whoa...";
mes "You've actually been to Valhalla?! Wow, you've come a long way...";
next;
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "[Chief Mahnsoo]";
mes "Hmmm...";
mes "It seems that you're not ready to become a Merchant again. Go finish learning the Basic Novice Skills first.";
@@ -272,7 +272,7 @@ alberta_in,53,43,6 script Merchant#mer 86,{
mes "be a Merchant?";
mes "Well...";
next;
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "[Chief Mahnsoo]";
mes "First, you have to be a Novice with Job Level 10. Once you do that, make sure you learn all of the Basic Skills.";
next;
diff --git a/npc/jobs/1-1/swordman.txt b/npc/jobs/1-1/swordman.txt
index 37788cbc3..77ea8dfe2 100644
--- a/npc/jobs/1-1/swordman.txt
+++ b/npc/jobs/1-1/swordman.txt
@@ -46,7 +46,7 @@ izlude_in,74,172,4 script Swordman#swd_1 119,{
mes "[Swordman]";
mes "I see you're retreading the path of the Swordman! Once you've gotten used to brandishing a sword, you can never go back!!";
next;
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "[Swordman]";
mes "Hmm? Ah, you must first master the Basic Skills before you are ready to become a Swordman.";
next;
@@ -135,7 +135,7 @@ izlude_in,74,172,4 script Swordman#swd_1 119,{
}
}
mes "[Swordman]";
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "Hm, you still haven't learned all of the Basic Skills. You need to do that before you can become a Swordman.";
next;
mes "[Swordman]";
@@ -209,7 +209,7 @@ izlude_in,62,170,6 script Swordman#swd_2 85,{
mes "Who the hell are you?! Nobody, other than Novices, is permitted to come in here!";
close;
}
- else if (getskilllv(1) < 9) {
+ else if (getskilllv("NV_BASIC") < 9) {
mes "Stop! I can't let you in until you learn all of the Basic Skills. The Test Hall isn't for goofing off!";
close;
}
diff --git a/npc/jobs/1-1/thief.txt b/npc/jobs/1-1/thief.txt
index 30907b926..c7d3edb5b 100644
--- a/npc/jobs/1-1/thief.txt
+++ b/npc/jobs/1-1/thief.txt
@@ -28,7 +28,7 @@ moc_prydb1,39,129,2 script Thief Guide 69,{
mes "[Thief Guide]";
mes "Huh? Do I know you? It's creepy that you seem so familiar. You don't have a twin, do you?";
next;
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "[Thief Guide]";
mes "What, do you want to be a Thief? I'm sorry, but you look like you need more training.";
next;
@@ -289,7 +289,7 @@ moc_prydb1,39,129,2 script Thief Guide 69,{
mes strcharinfo(0) + "? Um, where is it? Ah, here it is. Let's see...";
next;
mes "[Thief Guide]";
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "Isn't that cute? I can see you're ambitious, but you gotta learn all of the Basic Skills before you can become a Thief.";
close;
}
diff --git a/npc/jobs/1-1e/taekwon.txt b/npc/jobs/1-1e/taekwon.txt
index 32f2171a1..472ae13be 100644
--- a/npc/jobs/1-1e/taekwon.txt
+++ b/npc/jobs/1-1e/taekwon.txt
@@ -80,7 +80,7 @@ L_change:
mes "art. It won't be easy, but it will lead you to great strength...";
next;
if(select("Okay, I will join you.","No, thank you.") == 1) {
- if(getskilllv(1) < 9) {
+ if(getskilllv("NV_BASIC") < 9) {
mes "[Phoenix]";
mes "How unfortunate!";
mes "You're not yet ready to";
diff --git a/npc/jobs/2-2a/Creator.txt b/npc/jobs/2-2a/Creator.txt
index 07c462aa2..494182792 100644
--- a/npc/jobs/2-2a/Creator.txt
+++ b/npc/jobs/2-2a/Creator.txt
@@ -75,7 +75,7 @@ valkyrie,53,50,3 script Biochemist#Valkyrie 122,{
close;
}
else {
- if (Class == Job_Creator && MISC_QUEST & 64 && getskilllv(238) == 0) {
+ if (Class == Job_Creator && MISC_QUEST & 64 && getskilllv("AM_BIOETHICS") == 0) {
mes "[Biochemist]";
mes "Ah, have you come to";
mes "retrieve the memories";
diff --git a/npc/jobs/novice/supernovice.txt b/npc/jobs/novice/supernovice.txt
index f1cf0851b..287e395f6 100644
--- a/npc/jobs/novice/supernovice.txt
+++ b/npc/jobs/novice/supernovice.txt
@@ -137,7 +137,7 @@ aldeba_in,223,167,3 script Tzerero#sn 709,{
next;
switch(select("Accept his offer.:Reject his offer.:Listen more carefully.")) {
case 1:
- if (getskilllv(1) < 9) {
+ if (getskilllv("NV_BASIC") < 9) {
mes "[Tzerero]";
mes "Hmm...But do you truly";
mes "appreciate the value of";
@@ -420,7 +420,7 @@ aldebaran,54,238,5 script Kafra Employee#sn 117,{
if (Zeny >= 1899) {
set RESRVPTS, RESRVPTS + 190;
set zeny,zeny-1900;
- if (getskilllv(39) > 0) setcart;
+ if (getskilllv("MC_PUSHCART") > 0) setcart;
mes "[Kafra Employee]";
mes "Thank you for using my service.";
mes "Although what I am doing might";
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) {
diff --git a/npc/merchants/renters.txt b/npc/merchants/renters.txt
index 2cd437663..7e20df5fb 100644
--- a/npc/merchants/renters.txt
+++ b/npc/merchants/renters.txt
@@ -44,7 +44,7 @@ prontera,55,350,5 script Peco Peco Breeder#knt 105,{
mes "bankrupt?";
close;
}
- else if(getskilllv(63) == 0) {
+ else if(getskilllv("KN_RIDING") == 0) {
mes "[Peco Peco Breeder]";
mes "I'm sorry, but you're";
mes "not eligible for this";
@@ -103,7 +103,7 @@ mes "Welcome, Paladin.";
close;
}
- else if(getskilllv(63) == 0) {
+ else if(getskilllv("KN_RIDING") == 0) {
mes "[Peco Peco Breeder]";
mes "You must first learn";
mes "to ride a PecoPeco before";
@@ -155,7 +155,7 @@ hu_in01,381,304,5 script Falcon Breeder#hnt 105,{
mes "instead of monsters~";
close;
}
- else if(getskilllv(127) == 0) {
+ else if(getskilllv("HT_FALCON") == 0) {
mes "[Falcon Breeder]";
mes "Gosh~";
mes "Go learn how to";
diff --git a/npc/other/gympass.txt b/npc/other/gympass.txt
index e2bf637ad..1d4ae0c19 100644
--- a/npc/other/gympass.txt
+++ b/npc/other/gympass.txt
@@ -57,7 +57,7 @@ payon,173,141,4 script Ripped Cabus#GymPass 899,{
mes "item carrying muscles.";
close;
}
- else if (getskilllv(681) >= 10) {
+ else if (getskilllv("ALL_INCCARRY") >= 10) {
mes "[Ripped]";
mes "Dude, I don't think we can";
mes "build up your item carrying";
@@ -83,7 +83,7 @@ payon,173,141,4 script Ripped Cabus#GymPass 899,{
next;
specialeffect2 62;
next;
- skill 681,getskilllv(681)+1,0;
+ skill "ALL_INCCARRY",getskilllv("ALL_INCCARRY")+1,0;
delitem 7776,1;
set gympassmemory,gympassmemory+1;
mes "[Ripped]";
@@ -105,7 +105,7 @@ payon,173,141,4 script Ripped Cabus#GymPass 899,{
mes "get them in shape.";
close;
case 3:
- if (getskilllv(681) == 0) {
+ if (getskilllv("ALL_INCCARRY") == 0) {
mes "[Ripped]";
mes "Uhh...";
mes "We didn't work out";
diff --git a/npc/quests/first_class/tu_acolyte.txt b/npc/quests/first_class/tu_acolyte.txt
index 0ed8a8575..244407f9d 100644
--- a/npc/quests/first_class/tu_acolyte.txt
+++ b/npc/quests/first_class/tu_acolyte.txt
@@ -285,7 +285,7 @@ prt_monk,230,106,3 script Asthe#tu 79,{
mes "HEAL !!";
unitskilluseid getcharid(3),28,10;
set tu_acolyte01, 3;
- if(getskilllv(28) == 0){
+ if(getskilllv("AL_HEAL") == 0){
getexp 0,100;
//misceffect EF_CONE;
}
@@ -296,7 +296,7 @@ prt_monk,230,106,3 script Asthe#tu 79,{
mes "think? I believe learning the basics is your most important";
mes "task for now.";
next;
- if(getskilllv(28) < 3){
+ if(getskilllv("AL_HEAL") < 3){
mes "[Asthe]";
mes "Well then, learn";
mes "the Heal skill up to";
@@ -346,7 +346,7 @@ prt_monk,230,106,3 script Asthe#tu 79,{
}
break;
case 4:
- if(getskilllv(28) > 2){
+ if(getskilllv("AL_HEAL") > 2){
if(countitem(1504) > 0){
mes "Oh my!";
mes "Welcome back~";
@@ -1053,12 +1053,12 @@ prt_monk,226,257,6 script Ill Girl#tu 93,{
close;
break;
case 2:
- if(getskilllv(34) == 0) goto L_NONE;
+ if(getskilllv("AL_BLESSING") == 0) goto L_NONE;
mes "["+strcharinfo(0)+"]";
mes "B...";
mes "Blessing!";
next;
- if(rand(100) < getskilllv(34)*10){
+ if(rand(100) < getskilllv("AL_BLESSING")*10){
//misceffect EF_BLESSING;
mes "["+strcharinfo(0)+"]";
mes "I...";
@@ -1083,7 +1083,7 @@ prt_monk,226,257,6 script Ill Girl#tu 93,{
}
break;
case 3:
- if(getskilllv(35) == 0) goto L_NONE;
+ if(getskilllv("AL_CURE") == 0) goto L_NONE;
mes "["+strcharinfo(0)+"]";
mes "C-Cure...!";
//misceffect EF_CURE;
@@ -1099,7 +1099,7 @@ prt_monk,226,257,6 script Ill Girl#tu 93,{
close;
break;
case 5:
- if(getskilllv(32) == 0) goto L_NONE;
+ if(getskilllv("AL_CRUCIS") == 0) goto L_NONE;
mes "["+strcharinfo(0)+"]";
mes "S-Signum...";
mes "Signum Crucis!";
diff --git a/npc/quests/first_class/tu_archer.txt b/npc/quests/first_class/tu_archer.txt
index 27c9e618b..7e8c933d3 100644
--- a/npc/quests/first_class/tu_archer.txt
+++ b/npc/quests/first_class/tu_archer.txt
@@ -541,7 +541,7 @@ pay_arche,103,165,5 script Raiden Karus#tu 832,{
mes "if you can't aim at your targets, you'd be horrible at archery, right? You gotta have Accuracy!";
next;
mes "[Raiden Karus]";
- set @skill_owl, getskilllv(43);
+ set @skill_owl, getskilllv("AC_OWL");
if(@skill_owl < 3){
set tu_archer01, 6;
mes "Now, your first assignment";
@@ -716,7 +716,7 @@ pay_arche,103,165,5 script Raiden Karus#tu 832,{
mes "practice from a distance!";
next;
- set @eagle, getskilllv(44);
+ set @eagle, getskilllv("AC_VULTURE");
if(@eagle < 3){
mes "Alright, Mandagora usually live around Mt. Mjolnir. I can send you to Prontera, so just travel north, then east from there to find";
mes "some of them.";
@@ -772,7 +772,7 @@ pay_arche,103,165,5 script Raiden Karus#tu 832,{
next;
}
} else if(tu_archer01 == 8){
- set @eagle, getskilllv(44);
+ set @eagle, getskilllv("AC_VULTURE");
if(@eagle < 3){
mes "Mandagora lives in the area north and east of Prontera. Learn up to Level 3 Vulture's Eye and get acquainted with your attack range.";
next;
@@ -823,7 +823,7 @@ pay_arche,103,165,5 script Raiden Karus#tu 832,{
mes "Whaddya think?";
mes "Exciting, yes?";
next;
- set @eagle, getskilllv(46);
+ set @eagle, getskilllv("AC_DOUBLE");
if(@eagle > 2){
mes "["+strcharinfo(0)+"]";
mes "I...";
diff --git a/npc/quests/first_class/tu_merchant.txt b/npc/quests/first_class/tu_merchant.txt
index 51c9e69b3..469a8da62 100644
--- a/npc/quests/first_class/tu_merchant.txt
+++ b/npc/quests/first_class/tu_merchant.txt
@@ -54,7 +54,7 @@ alberta_in,70,51,5 script Guarnien 98,{
mes "you learned";
mes "about Vending?";
next;
- set @chk_vend, getskilllv(41);
+ set @chk_vend, getskilllv("MC_VENDING");
if((@chk_vend > 3) && (@chk_vend < 10)){
mes "[Guarnien]";
mes "Excellent!";
@@ -116,7 +116,7 @@ alberta_in,70,51,5 script Guarnien 98,{
mes "to vend a total of 3 items at one time. Each time you level up the Vending skill, the total number of items you can vend will";
mes "increase by one.";
next;
- set @chk_vend, getskilllv(41);
+ set @chk_vend, getskilllv("MC_VENDING");
if((@chk_vend > 3) && (@chk_vend < 10)){
mes "[Guarnien]";
mes "But I see that you must already know that, huh? Well, seeing as you're so clever, I think you've earned this little prize~";
@@ -166,7 +166,7 @@ alberta_in,70,51,5 script Guarnien 98,{
mes "learned Push Cart up";
mes "to Level 4 like I asked?";
next;
- set @chk_cart, getskilllv(39);
+ set @chk_cart, getskilllv("MC_PUSHCART");
if(@chk_cart > 3 && @chk_cart < 10){
mes "[Guarnien]";
mes "Well done~";
@@ -221,7 +221,7 @@ alberta_in,70,51,5 script Guarnien 98,{
mes "the level of the Push Cart skill, your movement speed will slowly be restored. With Push Cart Level 10, a PushCart won't slow you";
mes "down at all!";
next;
- set @chk_cart, getskilllv(39);
+ set @chk_cart, getskilllv("MC_PUSHCART");
if(@chk_cart > 3 && @chk_cart < 10){
mes "[Guarnien]";
mes "Ah, and I see that you've been focusing on learning Push Cart. Although you might still have a problem with your movement";
@@ -263,7 +263,7 @@ alberta_in,70,51,5 script Guarnien 98,{
mes "with learning that";
mes "^871F78Over Charge^000000 skill?";
next;
- set @chk_over, getskilllv(38);
+ set @chk_over, getskilllv("MC_OVERCHARGE");
if(@chk_over > 3 && @chk_over < 10){
mes "[Guarnien]";
mes "Nice work!";
@@ -313,7 +313,7 @@ alberta_in,70,51,5 script Guarnien 98,{
mes "[Guarnien]";
mes "Over Charge allows you to sell items to NPC shops for more Zeny. The higher your Over Charge Skill Level, the more Zeny you'll receive for items sold to NPCs.";
next;
- set @chk_over, getskilllv(38);
+ set @chk_over, getskilllv("MC_OVERCHARGE");
if(@chk_over > 3 && @chk_over < 10){
mes "[Guarnien]";
mes "Ah, you've already learned Level 4 Over Charge. Perfect! Let me give you a little reward~";
@@ -422,7 +422,7 @@ alberta_in,70,51,5 script Guarnien 98,{
mes "So, how is it going with learning the Discount skill? Like I always say, if you can't make a bargain, you can't be a Merchant!";
next;
mes "[Guarnien]";
- set @chk_disc, getskilllv(37);
+ set @chk_disc, getskilllv("MC_DISCOUNT");
if(@chk_disc > 3 && @chk_disc < 10){
mes "Ah, you've learned";
mes "how to use the Discount skill";
@@ -463,7 +463,7 @@ alberta_in,70,51,5 script Guarnien 98,{
mes "mastered at ^871F78Level 10^000000. The higher the skill level, the less you have to pay for items at NPC shops.";
next;
mes "[Guarnien]";
- set @chk_disc, getskilllv(37);
+ set @chk_disc, getskilllv("MC_DISCOUNT");
if(@chk_disc > 3 && @chk_disc < 10){
mes "Oooh, good work.";
mes "I see that you've";
@@ -516,7 +516,7 @@ alberta_in,70,51,5 script Guarnien 98,{
mes "So if you use this skill too often, you might end up bankrupt! So be really careful. Also, as the Skill Level for Mammonite increases, so does the attack strength and Zeny consumption.";
next;
mes "[Guarnien]";
- set @chk_mam, getskilllv(42);
+ set @chk_mam, getskilllv("MC_MAMMONITE");
if(@chk_mam > 3 && @chk_mam < 10){
mes "Ah, I see that you've already tried this skill. How much money have you wasted using Mammonite? Not too much, I hope.";
next;
@@ -543,7 +543,7 @@ alberta_in,70,51,5 script Guarnien 98,{
mes "like I asked?";
next;
mes "[Guarnien]";
- set @chk_soji, getskilllv(36);
+ set @chk_soji, getskilllv("MC_INCCARRY");
if(@chk_soji > 3 && @chk_soji < 10){
mes "Ah. I can tell that you have. Not bad! By now you should be able to learn the ^871F78Discount^000000 skill, but I'll teach you about that later.";
next;
@@ -556,7 +556,7 @@ alberta_in,70,51,5 script Guarnien 98,{
mes "[Guarnien]";
mes "This skill works exactly like a ^871F78Magnifier^000000, so you won't have to spend any Zeny on them. Also, this skill is mastered at ^871F78Level 1^000000.";
next;
- if(getskilllv(40)){
+ if(getskilllv("MC_IDENTIFY")){
mes "[Guarnien]";
mes "I see in your eyes that you've already learned to appraise items. Haha, although having that knowledge is reward in itself, let me give you something extra!";
set tu_merchant, 2;
@@ -584,7 +584,7 @@ alberta_in,70,51,5 script Guarnien 98,{
next;
if(select("Sure!:I'll make it on my own!")==1){
set tu_merchant, 1;
- if(getskilllv(36) < 4){
+ if(getskilllv("MC_INCCARRY") < 4){
mes "[Guarnien]";
if(Sex == 1){
mes "Atta boy~!";
@@ -622,7 +622,7 @@ alberta_in,70,51,5 script Guarnien 98,{
next;
mes "[Guarnien]";
set tu_merchant, 2;
- if(getskilllv(40)){
+ if(getskilllv("MC_IDENTIFY")){
mes "I see in your eyes that you've already learned to appraise items. Haha, although having that knowledge is reward in itself, let me give you something extra!";
//misceffect EF_HIT5;
getexp 585,43;
diff --git a/npc/quests/first_class/tu_sword.txt b/npc/quests/first_class/tu_sword.txt
index 8b1f306d0..f31a6a6b0 100644
--- a/npc/quests/first_class/tu_sword.txt
+++ b/npc/quests/first_class/tu_sword.txt
@@ -98,7 +98,7 @@ izlude_in,82,163,3 script Shurank 733,{
mes "Magnum Break is ideal for use";
mes "when surrounded by foes, but also keep in mind that it also inflicts a little damage on its caster.";
next;
- set @chk_magnum, getskilllv(7);
+ set @chk_magnum, getskilllv("SM_MAGNUM");
if(@chk_magnum > 5){
mes "[Shurank]";
mes "I see that you've been training in the use of Magnum Break. Although it is an awesome skill, it's not for every Swordman. Still, there's no harm in learning it.";
@@ -182,8 +182,8 @@ izlude_in,82,163,3 script Shurank 733,{
mes "One Handed Sword Mastery";
mes "increases the damage of Daggers and One Handed Swords while Two Handed Sword Mastery increases the damage of Two Handed Swords.";
next;
- set @chk_hanson, getskilllv(2);
- set @chk_yangson, getskilllv(3);
+ set @chk_hanson, getskilllv("SM_SWORD");
+ set @chk_yangson, getskilllv("SM_TWOHAND");
if((@chk_hanson > 9) || (@chk_yangson > 9)){
mes "[Shurank]";
mes "Ah, from the way you handle your Sword, I see that you have mastered a Sword Mastery. I'm thoroughly impressed.";
@@ -216,7 +216,7 @@ izlude_in,82,163,3 script Shurank 733,{
mes "training for the Endure";
mes "skill coming along?";
next;
- set @chk_endure, getskilllv(8);
+ set @chk_endure, getskilllv("SM_ENDURE");
if(@chk_endure > 1){
mes "[Shurank]";
mes "From that gleen of toughness upon your skin, I see now that I was foolish to ask. Well done~";
@@ -246,7 +246,7 @@ izlude_in,82,163,3 script Shurank 733,{
mes "learned how to use";
mes "the Endure skill yet?";
next;
- set @chk_endure, getskilllv(8);
+ set @chk_endure, getskilllv("SM_ENDURE");
if((@chk_endure > 0) && (@chk_endure < 2)){
mes "[Shurank]";
mes "I see that you";
@@ -303,7 +303,7 @@ izlude_in,82,163,3 script Shurank 733,{
mes "all I know about";
mes "the Endure skill.";
next;
- set @chk_endure, getskilllv(8);
+ set @chk_endure, getskilllv("SM_ENDURE");
if(@chk_endure == 0){
mes "[Shurank]";
mes "As you've noticed, receiving any damage causes you to reel in pain, stunning you for an instant. Thus, rapidly attacking enemies are dangerous since it's difficult to counter or escape them.";
@@ -370,7 +370,7 @@ izlude_in,82,163,3 script Shurank 733,{
mes "learning more about";
mes "the use of the Provoke skill?";
next;
- set @chk_provoke, getskilllv(6);
+ set @chk_provoke, getskilllv("SM_PROVOKE");
if((@chk_provoke > 4) && (@chk_provoke < 10)){
mes "[Shurank]";
mes "Ah, I see that you have a fairly good understanding of the Provoke skill. Let me reward you in this small way for your efforts.";
@@ -408,7 +408,7 @@ izlude_in,82,163,3 script Shurank 733,{
mes "in the use of the Provoke";
mes "skill been progressing?";
next;
- set @chk_provoke, getskilllv(6);
+ set @chk_provoke, getskilllv("SM_PROVOKE");
if((@chk_provoke > 0) && (@chk_provoke < 5)){
mes "[Shurank]";
mes "Ah, now I can see that you";
@@ -473,7 +473,7 @@ izlude_in,82,163,3 script Shurank 733,{
mes "Well, now that we taken care";
mes "of that, let me continue your instruction on Swordman skills. This time, we'll cover Provoke.";
next;
- set @chk_provoke, getskilllv(6);
+ set @chk_provoke, getskilllv("SM_PROVOKE");
if(@chk_provoke == 0){
mes "[Shurank]";
mes "You haven't";
@@ -613,7 +613,7 @@ izlude_in,82,163,3 script Shurank 733,{
mes "it comes to damage, you must be";
mes "able to both take it and dish it out.";
next;
- set @chk_hp, getskilllv(4);
+ set @chk_hp, getskilllv("SM_RECOVERY");
if(@chk_hp == 0){
mes "[Shurank]";
mes "But judging from that";
@@ -669,7 +669,7 @@ izlude_in,82,163,3 script Shurank 733,{
mes "if you want me to acknowledge";
mes "you as a fellow Swordman.";
next;
- set @chk_bash, getskilllv(5);
+ set @chk_bash, getskilllv("SM_BASH");
if(@chk_bash == 10){
mes "[Shurank]";
mes "Those calluses...!";
@@ -695,7 +695,7 @@ izlude_in,82,163,3 script Shurank 733,{
mes "Bash. If you want to grow as a Swordman, you will have great";
mes "need to master this skill.";
next;
- set @chk_bash, getskilllv(5);
+ set @chk_bash, getskilllv("SM_BASH");
if((@chk_bash > 4) && (@chk_bash < 10)){
mes "[Shurank]";
mes "Hm. It doesn't look like you've gained mastery of Bash, but it seems like you're trying hard.";
@@ -740,7 +740,7 @@ izlude_in,82,163,3 script Shurank 733,{
mes "Have you been learning";
mes "the art of using Bash? I fervently believe that the Bash skill is the essense of Swordmanship!";
next;
- set @chk_bash, getskilllv(5);
+ set @chk_bash, getskilllv("SM_BASH");
if((@chk_bash > 0) && (@chk_bash < 5)){
mes "[Shurank]";
mes "I see that you understand";
@@ -830,7 +830,7 @@ izlude_in,82,163,3 script Shurank 733,{
mes "fundamentals, the first of";
mes "which is the ^5D478BBash^000000 skill.";
next;
- set @chk_bash, getskilllv(5);
+ set @chk_bash, getskilllv("SM_BASH");
if(@chk_bash == 0){
mes "[Shurank]";
mes "^333333*Gasp*^000000";
diff --git a/npc/quests/first_class/tu_thief01.txt b/npc/quests/first_class/tu_thief01.txt
index 6290cce8c..080b23f5d 100644
--- a/npc/quests/first_class/tu_thief01.txt
+++ b/npc/quests/first_class/tu_thief01.txt
@@ -136,12 +136,12 @@ moc_ruins,66,164,4 script Thief Trainer#T 84,{
} else if(tu_thief01 == 2){
mes "Okay, let me see your skills. You know you gotta change your battle strategy depending on what skills you have, right? Skills are just as important as stats!";
next;
- set @chk_th_skill1, getskilllv(48);
- set @chk_th_skill2, getskilllv(49);
- set @chk_th_skill3, getskilllv(50);
- set @chk_th_skill4, getskilllv(51);
- set @chk_th_skill5, getskilllv(52);
- set @chk_th_skill6, getskilllv(53);
+ set @chk_th_skill1, getskilllv("TF_DOUBLE");
+ set @chk_th_skill2, getskilllv("TF_MISS");
+ set @chk_th_skill3, getskilllv("TF_STEAL");
+ set @chk_th_skill4, getskilllv("TF_HIDING");
+ set @chk_th_skill5, getskilllv("TF_POISON");
+ set @chk_th_skill6, getskilllv("TF_DETOXIFY");
if(@chk_th_skill1 == 0 && @chk_th_skill2 == 0 && @chk_th_skill3 == 0 && @chk_th_skill4 == 0 && @chk_th_skill5 == 0 && @chk_th_skill6 == 0){
mes "[Yierhan]";
diff --git a/npc/quests/quests_rachel.txt b/npc/quests/quests_rachel.txt
index 938d303ab..c193eabf1 100644
--- a/npc/quests/quests_rachel.txt
+++ b/npc/quests/quests_rachel.txt
@@ -2954,7 +2954,7 @@ ice_dun02,120,105,3 script Man Stuck in Ice#cave 924,5,5,{
mes "later! Just... Just get";
mes "this ice off of me!.";
next;
- if (getskilllv(19) > 0) {
+ if (getskilllv("MG_FIREBOLT") > 0) {
misceffect 24; //EF_FIREBALL
mes "^3355FFYou cast Fire Bolt at";
mes "the ice..^000000";
diff --git a/npc/quests/skills/acolyte_skills.txt b/npc/quests/skills/acolyte_skills.txt
index 9ab02151a..cb4b55607 100644
--- a/npc/quests/skills/acolyte_skills.txt
+++ b/npc/quests/skills/acolyte_skills.txt
@@ -57,7 +57,7 @@ prt_church,173,23,4 script Cleric#qsk_al 79,{
mes "job level.";
close;
case 2:
- if (getskilllv(156) == 1) {
+ if (getskilllv("AL_HOLYLIGHT") == 1) {
mes "[Acolyte Klift]";
mes "Brother, you already possess";
mes "the skill of ` Holy Light '.";
diff --git a/npc/quests/skills/archer_skills.txt b/npc/quests/skills/archer_skills.txt
index d4fcded27..97ee79a88 100644
--- a/npc/quests/skills/archer_skills.txt
+++ b/npc/quests/skills/archer_skills.txt
@@ -15,7 +15,7 @@
morocc,121,109,5 script Roberto#qsk_ac 88,{
if (BaseClass == Job_Archer) {
- if (getskilllv(147) == 1) {
+ if (getskilllv("AC_MAKINGARROW") == 1) {
mes "[Roberto]";
mes "Ooh, you're from my home town!";
mes "Nice to see you!";
@@ -149,7 +149,7 @@ morocc,121,109,5 script Roberto#qsk_ac 88,{
payon,103,63,3 script Jason#qsk_ac 88,3,3,{
if (BaseClass == Job_Archer) {
- if (getskilllv(148) == 1) {
+ if (getskilllv("AC_CHARGEARROW") == 1) {
mes "[Jason]";
mes "Eh, we meet again.";
mes "Ehhhh so weird.";
diff --git a/npc/quests/skills/assassin_skills.txt b/npc/quests/skills/assassin_skills.txt
index 229253973..bef886b26 100644
--- a/npc/quests/skills/assassin_skills.txt
+++ b/npc/quests/skills/assassin_skills.txt
@@ -15,7 +15,7 @@
in_moc_16,14,27,5 script Assassin#realman 884,{
if (BaseJob == Job_Assassin && ASSN_SK2 == 1) {
- if (getskilllv(1004) == 0) {
+ if (getskilllv("AS_VENOMKNIFE") == 0) {
mes "[Killtin]";
mes "Ah yes, that's why you";
mes "look so familiar. You're";
@@ -63,7 +63,7 @@ in_moc_16,14,27,5 script Assassin#realman 884,{
mes "skill. Leave me now, and";
mes "always fight for the honor";
mes "of the Assassin Guild!";
- skill 1004,1,0;
+ skill "AS_VENOMKNIFE",1,0;
close;
}
else {
@@ -233,7 +233,7 @@ in_moc_16,14,27,5 script Assassin#realman 884,{
mes "Knife pretty easily in battle.";
set ASSN_SK2,1;
set ASSN_SK,1;
- skill 1004,1,0;
+ skill "AS_VENOMKNIFE",1,0;
next;
mes "[Killtin]";
mes "Well, that's all I can";
@@ -287,7 +287,7 @@ in_moc_16,14,27,5 script Assassin#realman 884,{
in_moc_16,23,27,5 script Assassin#realgirl 885,{
if (BaseJob == Job_Assassin && ASSN_SK == 7) {
- if (getskilllv(1003) == 0) {
+ if (getskilllv("AS_SONICACCEL") == 0) {
mes "[Esmille]";
mes "Mm? Ah, you've transcended";
mes "and become an Assassin Cross";
@@ -302,7 +302,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 885,{
mes "sympathize, and am willing";
mes "to teach it to you again.";
next;
- if (getskilllv(136) == 0) {
+ if (getskilllv("AS_SONICBLOW") == 0) {
mes "[Esmille]";
mes "First, go and learn the";
mes "Sonic Blow skill. The skill";
@@ -357,7 +357,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 885,{
mes "Yes, that's it...!";
mes "Very well executed.";
mes "Good work, "+ strcharinfo(0) +".";
- skill 1003,1,0;
+ skill "AS_SONICACCEL",1,0;
set ASSN_SK,7;
next;
mes "[Esmille]";
@@ -454,7 +454,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 885,{
mes "Yes, that's it...!";
mes "Very well executed.";
mes "Good work, "+ strcharinfo(0) +".";
- skill 1003,1,0;
+ skill "AS_SONICACCEL",1,0;
set ASSN_SK,7;
next;
mes "[Esmille]";
@@ -643,7 +643,7 @@ in_moc_16,23,27,5 script Assassin#realgirl 885,{
mes "But first, there we need to";
mes "take care of the prerequisites... ^FFFFFF ^000000";
next;
- if (getskilllv(136) == 0) {
+ if (getskilllv("AS_SONICBLOW") == 0) {
mes "[Esmille]";
mes "First, go and learn the";
mes "Sonic Blow skill. The skill";
diff --git a/npc/quests/skills/bard_skills.txt b/npc/quests/skills/bard_skills.txt
index 14ee07108..91f62cc2a 100644
--- a/npc/quests/skills/bard_skills.txt
+++ b/npc/quests/skills/bard_skills.txt
@@ -381,7 +381,7 @@ OnTouch:
morocc_in,169,72,7 script Spiteful-Looking Bard#bs 741,3,3,{
if (BaseJob == Job_Bard) {
if (Class == Job_Clown && qskill_bard == 9) {
- if (getskilllv(1010) != 0) {
+ if (getskilllv("BA_PANGVOICE") != 0) {
mes "[Riott]";
mes "Geh heh heh~";
mes "Been making good use of";
@@ -435,7 +435,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 741,3,3,{
mes "confuse people and disrupt";
mes "control of their bodies. It's not^FFFFFF ^000000 a fatal skill, but it is effective";
mes "in mentally upsetting your enemy. Make very wise use of this skill.";
- skill 1010,1,0;
+ skill "BA_PANGVOICE",1,0;
close;
}
}
@@ -488,7 +488,7 @@ morocc_in,169,72,7 script Spiteful-Looking Bard#bs 741,3,3,{
mes "spinning, head spinning...!''";
specialeffect2 295; // EF_TALK_FROSTJOKE
delitem 7277,1; //Munak_Doll
- skill 1010,1,0;
+ skill "BA_PANGVOICE",1,0;
set qskill_bard,9;
next;
mes "[Riott]";
diff --git a/npc/quests/skills/blacksmith_skills.txt b/npc/quests/skills/blacksmith_skills.txt
index b4a79938b..422e54132 100644
--- a/npc/quests/skills/blacksmith_skills.txt
+++ b/npc/quests/skills/blacksmith_skills.txt
@@ -15,7 +15,7 @@
geffen,178,72,3 script Akkie#qsk_bs 726,{
if (BaseJob == Job_Blacksmith) {
- if (BLACK_SK == 7 && getskilllv(1012) == 0) {
+ if (BLACK_SK == 7 && getskilllv("BS_UNFAIRLYTRICK") == 0) {
mes "[Akkie]";
mes "I see that you've";
mes "transcended since the";
@@ -31,7 +31,7 @@ geffen,178,72,3 script Akkie#qsk_bs 726,{
mes "Dubious Salesmanship? You";
mes "should be able to use it now...";
set BLACK_SK,8;
- skill 1012,1,0;
+ skill "BS_UNFAIRLYTRICK",1,0;
close;
}
else if (BLACK_SK == 8) {
@@ -371,7 +371,7 @@ geffen,178,72,3 script Akkie#qsk_bs 726,{
mes "this... Isn't it easy? Of course, you can only use this in battle to";
mes "reduce Mammonite's zeny cost...";
set BLACK_SK,7;
- skill 1012,1,0;
+ skill "BS_UNFAIRLYTRICK",1,0;
next;
mes "[Akkie]";
mes "Also, 90% of the cost of";
@@ -475,7 +475,7 @@ geffen,178,72,3 script Akkie#qsk_bs 726,{
geffen,172,52,1 script Goodman#qsk_bs 826,{
if (BaseJob == Job_Blacksmith) {
- if (BLACK_SK2 == 2 && Upper == 1 && getskilllv(1013) == 0) {
+ if (BLACK_SK2 == 2 && Upper == 1 && getskilllv("BS_GREED") == 0) {
mes "[Goodman]";
mes "Ah, I see that you have";
mes "transcended. It gladdens me";
@@ -490,7 +490,7 @@ geffen,172,52,1 script Goodman#qsk_bs 826,{
mes "just looking at me should";
mes "jog the memories you require";
mes "to use this skill once again~";
- skill 1013,1,0;
+ skill "BS_GREED",1,0;
set BLACK_SK2,3;
close;
}
@@ -609,7 +609,7 @@ geffen,172,52,1 script Goodman#qsk_bs 826,{
mes "is different than its name.";
mes "Don't forget that, and I hope";
mes "you craft true masterpieces.";
- skill 1013,1,0;
+ skill "BS_GREED",1,0;
set BLACK_SK2,2;
close;
}
diff --git a/npc/quests/skills/crusader_skills.txt b/npc/quests/skills/crusader_skills.txt
index 89f8e93f4..c70d1532e 100644
--- a/npc/quests/skills/crusader_skills.txt
+++ b/npc/quests/skills/crusader_skills.txt
@@ -15,7 +15,7 @@
geffen,110,117,3 script Ford#11 752,{
if (BaseJob == Job_Crusader) {
- if (CRUS_SK == 8 && getskilllv(1002) == 0) {
+ if (CRUS_SK == 8 && getskilllv("CR_SHRINK") == 0) {
mes "[Ford]";
mes "Hey, it's been a while~";
mes "And you even managed to";
@@ -24,7 +24,7 @@ geffen,110,117,3 script Ford#11 752,{
mes "the Shrink skill, so I'll teach";
mes "it to you real quick... There!";
set CRUS_SK,10;
- skill 1002,1,0;
+ skill "CR_SHRINK",1,0;
close;
}
@@ -279,7 +279,7 @@ geffen,110,117,3 script Ford#11 752,{
gef_fild13,297,242,3 script Soldier#277 751,{
if (BaseJob == Job_Crusader) {
- if (Upper == 1 && getskilllv(1002)) {
+ if (Upper == 1 && getskilllv("CR_SHRINK")) {
if (CRUS_SK == 8) {
mes "[Sloutii]";
mes "Hey pal, it's been";
@@ -519,7 +519,7 @@ gef_fild13,297,242,3 script Soldier#277 751,{
mes "and protect the weak. Ah, and";
mes "if I learn any new skills, I'll be sure to teach you right away.";
set CRUS_SK,8;
- skill 1002,1,0;
+ skill "CR_SHRINK",1,0;
close;
}
mes "^3355FFYou carefully pour the";
@@ -580,7 +580,7 @@ gef_fild13,297,242,3 script Soldier#277 751,{
prt_church,87,127,3 script Pastor#1011 755,{
if (BaseJob == Job_Crusader) {
- if (Upper == 1 && getskilllv(1002)) {
+ if (Upper == 1 && getskilllv("CR_SHRINK")) {
if (CRUS_SK == 8) {
mes "[Father Arthur]";
mes "Oh, a Paladin now,";
diff --git a/npc/quests/skills/dancer_skills.txt b/npc/quests/skills/dancer_skills.txt
index dff750206..f25744c9d 100644
--- a/npc/quests/skills/dancer_skills.txt
+++ b/npc/quests/skills/dancer_skills.txt
@@ -315,11 +315,11 @@ comodo,204,127,5 script Canell#qsk_dan01 724,{
mes "the Charming Wink skill.^000000";
set DANCER_SK,9;
specialeffect2 253; // EF_ABSORBSPIRITS
- skill 1011,1,0;
+ skill "DC_WINKCHARM",1,0;
close;
}
}
- else if (DANCER_SK > 8 && getskilllv(1011)) {
+ else if (DANCER_SK > 8 && getskilllv("DC_WINKCHARM")) {
mes "[Canell]";
mes "Hm...?";
mes "Is there anything";
@@ -338,7 +338,7 @@ comodo,204,127,5 script Canell#qsk_dan01 724,{
close;
}
- else if (DANCER_SK == 9 && getskilllv(1011) == 0) {
+ else if (DANCER_SK == 9 && getskilllv("DC_WINKCHARM") == 0) {
mes "[Canell]";
mes "Hm? Oh, I remember you!";
mes "A Gypsy now, I see~ That";
@@ -358,7 +358,7 @@ comodo,204,127,5 script Canell#qsk_dan01 724,{
mes "^3355FFYou have learned the";
mes "Charming Wink skill.^000000";
specialeffect2 253; // EF_ABSORBSPIRITS
- skill 1011,1,0;
+ skill "DC_WINKCHARM",1,0;
close;
}
}
diff --git a/npc/quests/skills/hunter_skills.txt b/npc/quests/skills/hunter_skills.txt
index 11935c4b4..d9a137a52 100644
--- a/npc/quests/skills/hunter_skills.txt
+++ b/npc/quests/skills/hunter_skills.txt
@@ -29,7 +29,7 @@
payon_in02,54,13,7 script Albest 55,{
mes "[Albest]";
if(BaseJob!=Job_Hunter) goto L_hunterno;
- if(getskilllv(1009)) goto L_alreadyhave;
+ if(getskilllv("HT_PHANTASMIC")) goto L_alreadyhave;
if(JobLevel<40) goto L_nojob;
mes "I can teach you a secret";
@@ -59,7 +59,7 @@ payon_in02,54,13,7 script Albest 55,{
mes "[Albest]";
mes "I see you have what you need,";
mes "so I'll teach you my talent.";
- skill 1009,1,0;
+ skill "HT_PHANTASMIC",1,0;
close;
L_noitems:
diff --git a/npc/quests/skills/knight_skills.txt b/npc/quests/skills/knight_skills.txt
index 61fdf8d42..05af1638a 100644
--- a/npc/quests/skills/knight_skills.txt
+++ b/npc/quests/skills/knight_skills.txt
@@ -32,7 +32,7 @@ prt_in,85,99,3 script Knight#kabuto 734,{
mes "me your own stories of bravery.";
close;
}
- if (KNGT_SK == 9 && getskilllv(1001) == 0) {
+ if (KNGT_SK == 9 && getskilllv("KN_CHARGEATK") == 0) {
mes "[Essofeit]";
mes "Ah, I see that you've";
mes "made tremendous progress";
@@ -62,7 +62,7 @@ prt_in,85,99,3 script Knight#kabuto 734,{
mes "is greater risk to yourself.";
mes "For now, it would be best to practice this skill on your own.";
set KNGT_SK,10;
- skill 1001,1,0;
+ skill "KN_CHARGEATK",1,0;
next;
mes "[Essofeit]";
mes "Good luck on your";
@@ -112,7 +112,7 @@ prt_in,85,99,3 script Knight#kabuto 734,{
mes "is greater risk to yourself.";
mes "For now, it would be best to practice this skill on your own.";
set KNGT_SK,9;
- skill 1001,1,0;
+ skill "KN_CHARGEATK",1,0;
next;
mes "[Essofeit]";
mes "I hope you make good";
diff --git a/npc/quests/skills/mage_skills.txt b/npc/quests/skills/mage_skills.txt
index 2c4752826..5e0ba131e 100644
--- a/npc/quests/skills/mage_skills.txt
+++ b/npc/quests/skills/mage_skills.txt
@@ -82,7 +82,7 @@ geffen_in,151,119,4 script Great Wizard#qsk_mg 64,{
mes "There is nothing more to say, are you interested?";
close;
case 2:
- if (getskilllv(157) == 1) {
+ if (getskilllv("MG_ENERGYCOAT") == 1) {
mes "[BLIZZARDRISS]";
mes "It seems that you have ";
mes "already mastered this skill.";
@@ -120,7 +120,7 @@ geffen_in,151,119,4 script Great Wizard#qsk_mg 64,{
delitem 730,1; //Crystal_Jewel
delitem 935,5; //Shell
delitem 943,1; //Solid_Shell
- skill 157,1,0;
+ skill "MG_ENERGYCOAT",1,0;
mes "[BLIZZARDRISS]";
mes ". . . . .";
mes "It is done. . .";
diff --git a/npc/quests/skills/merchant_skills.txt b/npc/quests/skills/merchant_skills.txt
index 36b8bfe61..b867c41e4 100644
--- a/npc/quests/skills/merchant_skills.txt
+++ b/npc/quests/skills/merchant_skills.txt
@@ -16,7 +16,7 @@
alberta,83,96,5 script Necko#qsk_mc 98,7,7,{
if (BaseClass == Job_Merchant) {
- if (getskilllv(155) == 1) {
+ if (getskilllv("MC_LOUD") == 1) {
mes "[Necko]";
mes "I'm sorry. Necko's store is...";
mes "Oh? Who's this?";
@@ -78,7 +78,7 @@ alberta,83,96,5 script Necko#qsk_mc 98,7,7,{
delitem 722,7; //Scarlet_Jewel
delitem 532,1; //Banana_Juice
delitem 921,50; //Mushroom_Spore
- skill 155,1,0;
+ skill "MC_LOUD",1,0;
mes "[Necko]";
mes "You have learned Crazy Uproar!!";
mes "Shout as much as you wish!";
@@ -183,7 +183,7 @@ OnTouch:
alberta,119,221,6 script Charlron#qsk_mc 107,{
if (BaseClass == Job_Merchant) {
- if (getskilllv(154) == 1) {
+ if (getskilllv("MC_CHANGECART") == 1) {
mes "[Charlron]";
mes "Mmm? I was wondering who was making all";
mes "the raucus carrying around a cart.";
@@ -225,7 +225,7 @@ alberta,119,221,6 script Charlron#qsk_mc 107,{
delitem 1019,50; //Wooden_Block
delitem 998,10; //Iron
delitem 919,20; //Animal's_Skin
- skill 154,1,0;
+ skill "MC_CHANGECART",1,0;
mes "[Charlron]";
mes "Congratulations.";
mes "You can choose a cart";
@@ -342,7 +342,7 @@ alberta,119,221,6 script Charlron#qsk_mc 107,{
alberta,232,106,6 script Gershaun#qsk_mc 57,{
if (BaseClass == Job_Merchant) {
- if (getskilllv(153) == 1) {
+ if (getskilllv("MC_CARTREVOLUTION") == 1) {
mes "[Gershaun]";
mes "Ah, long time no see!";
mes "Ohh, the red marks on your cart.";
@@ -387,7 +387,7 @@ alberta,232,106,6 script Gershaun#qsk_mc 57,{
delitem 938,.@Quantity[2]; //Sticky_Mucus
delitem 601,.@Quantity[3]; //Wing_Of_Fly
delitem 962,.@Quantity[4]; //Tentacle
- skill 153,1,0;
+ skill "MC_CARTREVOLUTION",1,0;
mes "[Gershaun]";
mes "Now you can use Cart Revolution";
mes "I expect you to make merchants";
diff --git a/npc/quests/skills/monk_skills.txt b/npc/quests/skills/monk_skills.txt
index 6a915efe5..281889344 100644
--- a/npc/quests/skills/monk_skills.txt
+++ b/npc/quests/skills/monk_skills.txt
@@ -25,7 +25,7 @@ prt_monk,270,198,3 script Apprentice Monk#qsk_mo 753,{
mes "to the end you wish to achieve.";
close;
}
- if (MONK_SK == 6 && getskilllv(1015) == 0) {
+ if (MONK_SK == 6 && getskilllv("MO_KITRANSLATION") == 0) {
mes "[Monk]";
mes "You've forgotten the";
mes "basics behind performing";
@@ -59,8 +59,8 @@ prt_monk,270,198,3 script Apprentice Monk#qsk_mo 753,{
mes "tap-tap-tap-tap-tap-tap-tap-tap- tap-tap-tap-tap-tap-tap-tap-tap-";
mes "tap-tap-tap-tap-tap-tap* *POKE*^000000";
set MONK_SK,7;
- skill 1015,1,0;
- skill 1016,1,0;
+ skill "MO_KITRANSLATION",1,0;
+ skill "MO_BALKYOUNG",1,0;
next;
mes "[Monk]";
mes "It is done. Please";
@@ -147,7 +147,7 @@ prt_monk,270,198,3 script Apprentice Monk#qsk_mo 753,{
mes "times, but it is a means to an";
mes "end, and not an end in itself.";
set MONK_SK,3;
- skill 1015,1,0;
+ skill "MO_KITRANSLATION",1,0;
next;
mes "[Monk]";
mes "Our skills should not be";
@@ -252,7 +252,7 @@ monk_test,316,69,5 script Monk#qsk_mo 823,{
mes "to do it since you've learned";
mes "Spiritual Endowment.";
set MONK_SK,6;
- skill 1016,1,0;
+ skill "MO_BALKYOUNG",1,0;
next;
mes "[Monk]";
mes "Well, we've completed";
diff --git a/npc/quests/skills/priest_skills.txt b/npc/quests/skills/priest_skills.txt
index 0f79bb51d..2e4a42fe7 100644
--- a/npc/quests/skills/priest_skills.txt
+++ b/npc/quests/skills/priest_skills.txt
@@ -16,7 +16,7 @@
prt_church,111,112,1 script Sister Linus 79,{
if (BaseJob == Job_Priest) {
if (PRIEST_SK == 100) {
- if (getskilllv(1014) == 0) {
+ if (getskilllv("PR_REDEMPTIO") == 0) {
mes "[Sister Linus]";
mes "Hm? We've met before,";
mes "haven't we? Then again,";
@@ -39,7 +39,7 @@ prt_church,111,112,1 script Sister Linus 79,{
mes "with your light. Give us the";
mes "strength to walk the path of";
mes "love and sacrifice. Redemptio!^000000";
- skill 1014,1,0;
+ skill "PR_REDEMPTIO",1,0;
next;
mes "[Sister Linus]";
mes "There...";
@@ -61,7 +61,7 @@ prt_church,111,112,1 script Sister Linus 79,{
}
else if (PRIEST_SK == 0) {
set redemp,1014;
- if (getskilllv(1014)) {
+ if (getskilllv("PR_REDEMPTIO")) {
mes "[Sister Linus]";
mes "I'll always be praying";
mes "for your safety. Be careful,";
@@ -260,7 +260,7 @@ prt_church,111,112,1 script Sister Linus 79,{
close;
}
else if (PRIEST_SK == 2) {
- if (getskilllv(54) > 0) {
+ if (getskilllv("ALL_RESURRECTION") > 0) {
if (countitem(523) > 29 && countitem(717) > 19) {
mes "[Sister Linus]";
mes "Ooh, it seems like you've";
@@ -284,7 +284,7 @@ prt_church,111,112,1 script Sister Linus 79,{
mes "strength to walk the path of";
mes "love and sacrifice. Redemptio!^000000";
next;
- set .@redem_s,JobLevel+getskilllv(54);
+ set .@redem_s,JobLevel+getskilllv("ALL_RESURRECTION");
set .@red_suc,rand(1,100);
if( .@redem_s < 31 ) {
if( .@red_suc > 20 && .@red_suc < 41 )
@@ -309,7 +309,7 @@ prt_church,111,112,1 script Sister Linus 79,{
delitem 717,20; //Blue_Gemstone
delitem 523,30; //Holy_Water
set PRIEST_SK,100;
- skill 1014,1,0;
+ skill "PR_REDEMPTIO",1,0;
close;
}
else {
diff --git a/npc/quests/skills/sage_skills.txt b/npc/quests/skills/sage_skills.txt
index 6baab8050..04cef2937 100644
--- a/npc/quests/skills/sage_skills.txt
+++ b/npc/quests/skills/sage_skills.txt
@@ -28,7 +28,7 @@
yuno_in03,176,24,3 script Mischna 755,{
mes "[Mischna]";
if(BaseJob!=Job_Sage) goto L_sageno;
- if(getskilllv(1007)) goto L_elemental;
+ if(getskilllv("SA_CREATECON")) goto L_elemental;
mes "I can teach you a new skill";
mes "that I discovered, but you";
@@ -61,7 +61,7 @@ yuno_in03,176,24,3 script Mischna 755,{
mes "I see you have what we need,";
mes "so I'll teach you this new";
mes "talent of mine!";
- skill 1007,1,0;
+ skill "SA_CREATECON",1,0;
next;
mes "[Mischna]";
@@ -99,7 +99,8 @@ L_alreadyhave:
close;
L_elemental:
- if(getskilllv(1008) || getskilllv(1017) || getskilllv(1018) || getskilllv(1019)) goto L_alreadyhave;
+ if(getskilllv("SA_ELEMENTWATER") || getskilllv("SA_ELEMENTGROUND")
+ || getskilllv("SA_ELEMENTFIRE") || getskilllv("SA_ELEMENTWIND")) goto L_alreadyhave;
mes "I have one more skill that";
mes "I can teach you, but you";
@@ -125,24 +126,24 @@ L_elemental:
sage_1:
if(countitem(991)<20)goto L_sagefail;//Items: Crystal_Blue,
delitem 991, 20; //Items: Crystal_Blue,
- skill 1008,1,0;
+ skill "SA_ELEMENTWATER",1,0;
goto L_alreadyhave;
sage_2:
if(countitem(993)<20)goto L_sagefail;//Items: Green_Live,
delitem 993, 20;//Items: Green_Live,
- skill 1017,1,0;
+ skill "SA_ELEMENTGROUND",1,0;
goto L_alreadyhave;
sage_3:
if(countitem(990)<20)goto L_sagefail;//Items: Red_Blood,
delitem 990, 20;//Items: Red_Blood,
- skill 1018,1,0;
+ skill "SA_ELEMENTFIRE",1,0;
goto L_alreadyhave;
sage_4:
if(countitem(992)<20)goto L_sagefail;//Items: Wind_of_Verdure,
delitem 992, 20;//Items: Wind_of_Verdure,
- skill 1019,1,0;
+ skill "SA_ELEMENTWIND",1,0;
goto L_alreadyhave;
}
diff --git a/npc/quests/skills/swordman_skills.txt b/npc/quests/skills/swordman_skills.txt
index 7a4673543..ba3a74558 100644
--- a/npc/quests/skills/swordman_skills.txt
+++ b/npc/quests/skills/swordman_skills.txt
@@ -16,7 +16,7 @@
izlude_in,175,130,2 script Knight De Thomas#qsk_sm 98,{
if (BaseClass == Job_Swordman) {
- if (SWORD_SK < 1 && getskilllv(144) == 0) {
+ if (SWORD_SK < 1 && getskilllv("SM_MOVINGRECOVERY") == 0) {
mes "[De Thomas]";
mes "Oh, no! You must have been hurt! Are you ok?";
mes "You must have fought hard to get such serious injuries..";
@@ -71,7 +71,7 @@ izlude_in,175,130,2 script Knight De Thomas#qsk_sm 98,{
mes "...";
close;
}
- else if (SWORD_SK == 1 && getskilllv(144) == 0) {
+ else if (SWORD_SK == 1 && getskilllv("SM_MOVINGRECOVERY") == 0) {
mes "[De Thomas]";
mes "Welcome back...";
mes "are you ready to learn Body Movin'?";
@@ -88,7 +88,7 @@ izlude_in,175,130,2 script Knight De Thomas#qsk_sm 98,{
next;
delitem 713,200; //Empty_Bottle
delitem 1058,1; //Wing_Of_Moth
- skill 144,1,0;
+ skill "SM_MOVINGRECOVERY",1,0;
set SWORD_SK,0;
mes "[De Thomas]";
mes "There you go!";
@@ -152,7 +152,7 @@ izlude_in,175,130,2 script Knight De Thomas#qsk_sm 98,{
prt_in,75,88,5 script Leon Von Frich#qsk_sm 85,3,3,{
if ((BaseJob == Job_Swordman && JobLevel >= 25) || BaseJob == Job_Knight || BaseJob == Job_Crusader) {
- if (getskilllv(145) == 1) {
+ if (getskilllv("SM_FATALBLOW") == 1) {
mes "[Leon]";
mes "Eh?";
mes "I was wondering who that was!";
@@ -177,7 +177,7 @@ prt_in,75,88,5 script Leon Von Frich#qsk_sm 85,3,3,{
delitem 532,1; //Banana_Juice
delitem 962,30; //Tentacle
delitem 526,5; //Royal_Jelly
- skill 145,1,0;
+ skill "SM_FATALBLOW",1,0;
mes "[Leon]";
mes "Success!";
mes "Go use your new skill to its full potential.";
@@ -312,7 +312,7 @@ OnTouch:
prt_in,94,57,3 script Juan#qsk_sm 85,{
if (BaseClass == Job_Swordman) {
- if (getskilllv(146) == 1) {
+ if (getskilllv("SM_AUTOBERSERK") == 1) {
mes "[Juan]";
mes "Mmm? Long time no see!";
mes "How are you?";
@@ -351,7 +351,7 @@ prt_in,94,57,3 script Juan#qsk_sm 85,{
delitem 958,10; //Horrendous_Mouth
delitem 957,10; //Decayed_Nail
delitem 518,10; //Honey
- skill 146,1,0;
+ skill "SM_AUTOBERSERK",1,0;
mes "[Juan]";
mes "You have just become a swordsman";
mes "that can use Auto Berserk.";
diff --git a/npc/quests/skills/wizard_skills.txt b/npc/quests/skills/wizard_skills.txt
index 8cb69aa31..2b190e063 100644
--- a/npc/quests/skills/wizard_skills.txt
+++ b/npc/quests/skills/wizard_skills.txt
@@ -16,7 +16,7 @@
gef_tower,115,36,4 script Meow#q_wiz 876,{
if (BaseJob == Job_Wizard) {
if (WIZ_SK == 100) {
- if (getskilllv(1006) == 0) {
+ if (getskilllv("WZ_SIGHTBLASTER") == 0) {
mes "[Meow]";
mes "What...?! You forgot the";
mes "awesome skill I taught you?";
@@ -41,7 +41,7 @@ gef_tower,115,36,4 script Meow#q_wiz 876,{
mes "Meow can administer another";
mes "vicious beating to you.";
specialeffect2 253; // EF_ABSORBSPIRITS
- skill 1006,1,0;
+ skill "WZ_SIGHTBLASTER",1,0;
next;
mes "[Meow]";
mes "Remember now?";
@@ -294,7 +294,7 @@ gef_tower,115,36,4 script Meow#q_wiz 876,{
delitem 990,10; //Boody_Red
delitem 992,10; //Wind_Of_Verdure
set WIZ_SK,100;
- skill 1006,1,0;
+ skill "WZ_SIGHTBLASTER",1,0;
next;
mes "[Meow]";
mes "I'm so tired from all of";