Explorar o código

Converted skill commands integers to strings. Follow up on r12814

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12819 54d463be-8e91-2dee-dedb-b68131a5f0ec
shadow %!s(int64=17) %!d(string=hai) anos
pai
achega
a98253bcc4
Modificáronse 57 ficheiros con 403 adicións e 398 borrados
  1. 3 0
      db/Changelog.txt
  2. 205 205
      db/item_db.txt
  3. 23 23
      db/pet_db.txt
  4. 1 0
      npc/Changelog.txt
  5. 3 3
      npc/custom/breeder.txt
  6. 2 2
      npc/custom/eAAC_Scripts/kafraExpress/ke_jobswap.txt
  7. 2 2
      npc/custom/eAAC_Scripts/kafraExpress/ke_main.txt
  8. 3 3
      npc/custom/eAAC_Scripts/kafraExpress/ke_rent.txt
  9. 1 1
      npc/custom/eAAC_Scripts/kafraExpress/ke_stats.txt
  10. 1 1
      npc/custom/eAAC_Scripts/quest_warper.txt
  11. 2 2
      npc/custom/events/xmas_rings_event.txt
  12. 1 1
      npc/guild/agit_template.txt
  13. 1 1
      npc/guild2/arug_cas01.txt
  14. 1 1
      npc/guild2/arug_cas02.txt
  15. 1 1
      npc/guild2/arug_cas03.txt
  16. 1 1
      npc/guild2/arug_cas04.txt
  17. 1 1
      npc/guild2/arug_cas05.txt
  18. 1 1
      npc/guild2/schg_cas01.txt
  19. 1 1
      npc/guild2/schg_cas02.txt
  20. 1 1
      npc/guild2/schg_cas03.txt
  21. 1 1
      npc/guild2/schg_cas04.txt
  22. 1 1
      npc/guild2/schg_cas05.txt
  23. 2 2
      npc/jobs/1-1/acolyte.txt
  24. 2 2
      npc/jobs/1-1/archer.txt
  25. 2 2
      npc/jobs/1-1/mage.txt
  26. 2 2
      npc/jobs/1-1/merchant.txt
  27. 3 3
      npc/jobs/1-1/swordman.txt
  28. 2 2
      npc/jobs/1-1/thief.txt
  29. 1 1
      npc/jobs/1-1e/taekwon.txt
  30. 1 1
      npc/jobs/2-2a/Creator.txt
  31. 2 2
      npc/jobs/novice/supernovice.txt
  32. 6 6
      npc/kafras/cool_event_corp.txt
  33. 1 1
      npc/kafras/functions_kafras.txt
  34. 3 3
      npc/merchants/renters.txt
  35. 3 3
      npc/other/gympass.txt
  36. 7 7
      npc/quests/first_class/tu_acolyte.txt
  37. 4 4
      npc/quests/first_class/tu_archer.txt
  38. 13 13
      npc/quests/first_class/tu_merchant.txt
  39. 14 14
      npc/quests/first_class/tu_sword.txt
  40. 6 6
      npc/quests/first_class/tu_thief01.txt
  41. 1 1
      npc/quests/quests_rachel.txt
  42. 1 1
      npc/quests/skills/acolyte_skills.txt
  43. 2 2
      npc/quests/skills/archer_skills.txt
  44. 8 8
      npc/quests/skills/assassin_skills.txt
  45. 3 3
      npc/quests/skills/bard_skills.txt
  46. 6 6
      npc/quests/skills/blacksmith_skills.txt
  47. 5 5
      npc/quests/skills/crusader_skills.txt
  48. 4 4
      npc/quests/skills/dancer_skills.txt
  49. 2 2
      npc/quests/skills/hunter_skills.txt
  50. 3 3
      npc/quests/skills/knight_skills.txt
  51. 2 2
      npc/quests/skills/mage_skills.txt
  52. 6 6
      npc/quests/skills/merchant_skills.txt
  53. 5 5
      npc/quests/skills/monk_skills.txt
  54. 6 6
      npc/quests/skills/priest_skills.txt
  55. 8 7
      npc/quests/skills/sage_skills.txt
  56. 7 7
      npc/quests/skills/swordman_skills.txt
  57. 3 3
      npc/quests/skills/wizard_skills.txt

+ 3 - 0
db/Changelog.txt

@@ -43,6 +43,9 @@
 	2385 Recuvative_Armor		Should trigger HP/SP return with magical kills as well.
 
 =======================
+2008/06/13
+	* Converted skill commands integers to strings. Follow up on r12814
+
 2008/06/11
 	* Fixed items that grant status related skills not removing the status when you unequip it.
 

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 205 - 205
db/item_db.txt


+ 23 - 23
db/pet_db.txt

@@ -35,38 +35,38 @@
 1011,CHONCHON,ChonChon,624,9006,10002,537,80,10,30,100,250,20,1500,200,1,0,500,500,250,{ petskillbonus bAgi,4,10,50; }
 1014,SPORE,Spore,630,9012,10017,537,80,20,30,100,250,20,1500,200,0,0,350,500,500,{ petrecovery SC_Poison,60; }
 1019,PECOPECO,PecoPeco,632,9014,10010,537,80,15,30,100,250,20,1000,200,1,0,400,500,800,{ petskillbonus bSpeedRate,25,20,20; }
-1023,ORC_WARRIOR,Orc Warrior,635,9017,10009,537,80,12,20,100,250,20,500,200,1,0,600,200,300,{ petskillattack2 158,100,1,0,10; }
-1026,MUNAK,Munak,636,9018,10008,537,80,20,20,100,250,20,500,100,0,0,300,750,300,{ petskillattack2 190,444,1,0,10; }
-1029,ISIS,Isis,639,9021,10006,537,80,20,10,100,250,20,500,200,0,0,650,450,150,{ petskillsupport 74,2,60,50,50; }
+1023,ORC_WARRIOR,Orc Warrior,635,9017,10009,537,80,12,20,100,250,20,500,200,1,0,600,200,300,{ petskillattack2 "NPC_PIERCINGATT",100,1,0,10; }
+1026,MUNAK,Munak,636,9018,10008,537,80,20,20,100,250,20,500,100,0,0,300,750,300,{ petskillattack2 "NPC_DARKNESSATTACK",444,1,0,10; }
+1029,ISIS,Isis,639,9021,10006,537,80,20,10,100,250,20,500,200,0,0,650,450,150,{ petskillsupport "PR_MAGNIFICAT",2,60,50,50; }
 1031,POPORING,Poporing,621,9003,10013,511,80,12,30,100,250,20,1000,300,1,0,300,500,400,{ petloot 15; }
-1035,HUNTER_FLY,Hunter Fly,626,9008,10002,716,80,12,10,100,250,20,500,150,1,0,500,500,200,{ petskillattack2 187,888,2,0,10;}
+1035,HUNTER_FLY,Hunter Fly,626,9008,10002,716,80,12,10,100,250,20,500,150,1,0,500,500,200,{ petskillattack2 "NPC_WINDATTACK",888,2,0,10;}
 1042,STEEL_CHONCHON,Steel ChonChon,625,9007,10002,1002,80,12,20,100,250,20,1000,150,1,0,500,500,200,{ petskillbonus bAgiVit,4,20,40; }
 1049,PICKY,Picky,623,9005,10012,507,80,15,40,100,250,20,2000,200,1,0,500,600,50,{ petskillbonus bStr,3,10,50;}
 1052,ROCKER,Rocker,629,9011,10014,537,80,60,30,100,250,20,1500,200,0,0,350,350,600,{ petskillbonus bAllStats,1,10,50; }
 1056,SMOKIE,Smokie,633,9015,10019,537,80,15,30,100,250,20,1000,200,1,0,600,600,100,{ petskillbonus bPerfectHide,1,3600,0; }
 1057,YOYO,Yoyo,634,9016,10018,532,80,12,20,100,250,20,1000,200,1,0,300,800,400,{ petloot 20; }
 1063,LUNATIC,Lunatic,622,9004,10007,534,80,15,40,100,250,20,1500,200,0,0,300,300,1000,{ petskillbonus bLuk,3,10,50; }
-1077,POISON_SPORE,Poison Spore,631,9013,10017,537,80,20,20,100,250,20,1000,200,0,0,600,200,400,{ petskillattack 176,20,0,10; }
-1101,BAPHOMET_Jr,Baphomet Jr.,642,9024,10001,518,80,30,10,100,250,20,200,100,0,0,1000,100,200,{ petskillattack2 190,1776,4,0,5; }
-1107,DESERT_WOLF_B,Baby Desert Wolf,628,9010,10003,537,80,10,40,100,250,20,1000,300,0,0,400,400,400,{ petskillattack 6,1,0,5;}
+1077,POISON_SPORE,Poison Spore,631,9013,10017,537,80,20,20,100,250,20,1000,200,0,0,600,200,400,{ petskillattack "NPC_POISON",20,0,10; }
+1101,BAPHOMET_Jr,Baphomet Jr.,642,9024,10001,518,80,30,10,100,250,20,200,100,0,0,1000,100,200,{ petskillattack2 "NPC_DARKNESSATTACK",1776,4,0,5; }
+1107,DESERT_WOLF_B,Baby Desert Wolf,628,9010,10003,537,80,10,40,100,250,20,1000,300,0,0,400,400,400,{ petskillattack "SM_PROVOKE",1,0,5;}
 1109,DEVIRUCHI,Deviruchi,641,9023,10004,711,80,30,10,100,250,20,500,150,0,0,800,200,100,{ petskillbonus bAgiDexStr,6,20,40; }
-1110,DOKEBI,Dokebi,637,9019,10005,537,80,15,20,100,250,20,500,250,0,0,300,300,800,{ petskillattack 110,1,0,10; }
+1110,DOKEBI,Dokebi,637,9019,10005,537,80,15,20,100,250,20,500,250,0,0,300,300,800,{ petskillattack "BS_HAMMERFALL",1,0,10; }
 1113,DROPS,Drops,620,9002,10013,508,80,15,40,100,250,20,1500,400,1,0,300,400,500,{ petloot 10; }
-1155,PETIT,Petit,640,9022,10011,537,80,15,20,100,250,20,500,200,0,0,800,400,100,{ petskillattack2 91,500,1,0,10; }
+1155,PETIT,Petit,640,9022,10011,537,80,15,20,100,250,20,500,200,0,0,800,400,100,{ petskillattack2 "WZ_HEAVENDRIVE",500,1,0,10; }
 1167,SAVAGE_BABE,Savage Babe,627,9009,10015,537,80,9,40,100,250,20,1500,400,0,0,500,500,200,{ petskillbonus bVit,4,10,50; }
 1170,SOHEE,Sohee,638,9020,10016,537,80,20,10,100,250,20,500,300,0,0,100,1000,200,{ petheal 400,60,33,100; }
-1188,BON_GUN,Bon Gun,659,9025,10020,537,80,20,10,100,250,20,500,200,1,0,600,200,400,{ petskillattack2 190,555,1,1,1; }
-1200,ZHERLTHSH,Zherlthsh,660,9026,0,929,80,20,10,100,250,20,50,200,0,0,1000,100,500,{ petskillattack 136,1,0,3; }
-1245,GOBLINE_XMAS,Christmas Goblin,12225,9029,0,911,80,20,50,100,250,20,2000,100,0,0,300,300,800,{ petskillattack 10,5,5,5; }
-1275,ALICE,Alice,661,9027,0,504,80,20,10,100,250,20,100,200,0,0,100,1000,200,{ petskillsupport 28,5,60,25,100; }
-1815,EVENT_RICECAKE,Rice Cake,0,9028,0,511,80,20,50,100,250,20,2000,150,1,0,500,500,200,{ petskillsupport 257,3,240,50,100; }
+1188,BON_GUN,Bon Gun,659,9025,10020,537,80,20,10,100,250,20,500,200,1,0,600,200,400,{ petskillattack2 "NPC_DARKNESSATTACK",555,1,1,1; }
+1200,ZHERLTHSH,Zherlthsh,660,9026,0,929,80,20,10,100,250,20,50,200,0,0,1000,100,500,{ petskillattack "AS_SONICBLOW",1,0,3; }
+1245,GOBLINE_XMAS,Christmas Goblin,12225,9029,0,911,80,20,50,100,250,20,2000,100,0,0,300,300,800,{ petskillattack "MG_SIGHT",5,5,5; }
+1275,ALICE,Alice,661,9027,0,504,80,20,10,100,250,20,100,200,0,0,100,1000,200,{ petskillsupport "AL_HEAL",5,60,25,100; }
+1815,EVENT_RICECAKE,Rice Cake,0,9028,0,511,80,20,50,100,250,20,2000,150,1,0,500,500,200,{ petskillsupport "CR_DEFENDER",3,240,50,100; }
 // Newest pets. un-official data
-1519,CHUNG_E,Green Maiden,0,9030,0,7767,80,20,50,100,250,20,2000,150,0,0,300,300,800,{ petskillattack 250,5,5,5; }
-1879,ECLIPSE_P,Spring Rabbit,0,9031,0,7766,80,20,50,100,250,20,2000,160,0,0,300,300,800,{ petskillattack 152,1,5,5; }
-1122,GOBLIN_1,Goblin,14569,9032,0,7821,80,20,50,100,250,20,2000,100,0,0,300,300,800,{ petskillattack 187,5,5,5; }
-1123,GOBLIN_2,Goblin,14570,9033,0,7821,80,20,50,100,250,20,2000,150,0,0,300,300,800,{ petskillattack 186,5,5,5; }
-1125,GOBLIN_4,Goblin,14571,9034,0,7821,80,20,50,100,250,20,2000,200,0,0,300,300,800,{ petskillattack 185,5,5,5; }
-1385,DELETER,Deleter,14572,9035,0,7822,80,20,50,100,250,20,2000,175,0,0,300,300,800,{ petskillattack 7,5,5,5; }
-1382,DIABOLIC,Diabolic,14573,9036,0,7823,80,20,50,100,250,20,2000,150,0,0,300,300,800,{ petskillattack 83,2,5,5; }
-1208,WANDER_MAN,Wanderer,14574,9037,0,7824,80,20,50,100,250,20,2000,100,0,0,300,300,800,{ petskillattack 347,5,5,5; }
-1963,P_CHUNG_E,New Year Doll,0,9038,0,554,80,20,50,100,250,20,2000,150,0,0,300,300,800,{ petskillattack 250,5,5,5; }
+1519,CHUNG_E,Green Maiden,0,9030,0,7767,80,20,50,100,250,20,2000,150,0,0,300,300,800,{ petskillattack "CR_SHIELDCHARGE",5,5,5; }
+1879,ECLIPSE_P,Spring Rabbit,0,9031,0,7766,80,20,50,100,250,20,2000,160,0,0,300,300,800,{ petskillattack "TF_THROWSTONE",1,5,5; }
+1122,GOBLIN_1,Goblin,14569,9032,0,7821,80,20,50,100,250,20,2000,100,0,0,300,300,800,{ petskillattack "NPC_WINDATTACK",5,5,5; }
+1123,GOBLIN_2,Goblin,14570,9033,0,7821,80,20,50,100,250,20,2000,150,0,0,300,300,800,{ petskillattack "NPC_FIREATTACK",5,5,5; }
+1125,GOBLIN_4,Goblin,14571,9034,0,7821,80,20,50,100,250,20,2000,200,0,0,300,300,800,{ petskillattack "NPC_GROUNDATTACK",5,5,5; }
+1385,DELETER,Deleter,14572,9035,0,7822,80,20,50,100,250,20,2000,175,0,0,300,300,800,{ petskillattack "SM_MAGNUM",5,5,5; }
+1382,DIABOLIC,Diabolic,14573,9036,0,7823,80,20,50,100,250,20,2000,150,0,0,300,300,800,{ petskillattack "WZ_METEOR",2,5,5; }
+1208,WANDER_MAN,Wanderer,14574,9037,0,7824,80,20,50,100,250,20,2000,100,0,0,300,300,800,{ petskillattack "NPC_UNDEADATTACK",5,5,5; }
+1963,P_CHUNG_E,New Year Doll,0,9038,0,554,80,20,50,100,250,20,2000,150,0,0,300,300,800,{ petskillattack "CR_SHIELDCHARGE",5,5,5; }

+ 1 - 0
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

+ 3 - 3
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.";

+ 2 - 2
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) {

+ 2 - 2
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;
 	}

+ 3 - 3
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()) {

+ 1 - 1
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;

+ 1 - 1
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;

+ 2 - 2
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;
 }
 

+ 1 - 1
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.";
 			}

+ 1 - 1
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";

+ 1 - 1
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";

+ 1 - 1
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";

+ 1 - 1
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";

+ 1 - 1
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";

+ 1 - 1
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";

+ 1 - 1
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";

+ 1 - 1
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";

+ 1 - 1
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";

+ 1 - 1
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";

+ 2 - 2
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]";

+ 2 - 2
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;

+ 2 - 2
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]";

+ 2 - 2
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;

+ 3 - 3
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;
 	}

+ 2 - 2
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;
 		}

+ 1 - 1
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";

+ 1 - 1
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";

+ 2 - 2
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";

+ 6 - 6
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;

+ 1 - 1
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) {

+ 3 - 3
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";

+ 3 - 3
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";

+ 7 - 7
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!";

+ 4 - 4
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...";

+ 13 - 13
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;

+ 14 - 14
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";

+ 6 - 6
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]";

+ 1 - 1
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";

+ 1 - 1
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 '.";

+ 2 - 2
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.";

+ 8 - 8
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";

+ 3 - 3
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]";

+ 6 - 6
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;
 				}

+ 5 - 5
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,";

+ 4 - 4
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;
 		}
 	}

+ 2 - 2
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:

+ 3 - 3
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";

+ 2 - 2
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. . .";

+ 6 - 6
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";

+ 5 - 5
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";

+ 6 - 6
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 {

+ 8 - 7
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;
 }

+ 7 - 7
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.";

+ 3 - 3
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";

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio