diff options
Diffstat (limited to 'npc/pre-re/jobs/1-1/archer.txt')
-rw-r--r-- | npc/pre-re/jobs/1-1/archer.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/npc/pre-re/jobs/1-1/archer.txt b/npc/pre-re/jobs/1-1/archer.txt index 075bb391a..946638d64 100644 --- a/npc/pre-re/jobs/1-1/archer.txt +++ b/npc/pre-re/jobs/1-1/archer.txt @@ -145,10 +145,10 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{ close; } if (job_archer_q == 1) { - .@archer_item1 = countitem(1066) * 5; - .@archer_item2 = countitem(1067) * 3; - .@archer_item3 = countitem(1068) * 2; - .@archer_item4 = countitem(1019); + .@archer_item1 = countitem(Tree_Of_Archer_1) * 5; + .@archer_item2 = countitem(Tree_Of_Archer_2) * 3; + .@archer_item3 = countitem(Tree_Of_Archer_3) * 2; + .@archer_item4 = countitem(Wooden_Block); .@total_archer = .@archer_item1 + .@archer_item2 + .@archer_item3 + .@archer_item4; .@total_archer2 = (((.@archer_item2 + .@archer_item3) * 2) + .@archer_item4); mes "[Archer Guildsman]"; @@ -159,17 +159,17 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{ mes "[Archer Guildsman]"; mes "I will appraise the value of the various types of Trunks, needed to produce a Bow, that you've brought."; next; - if (countitem(1066) == 0 && countitem(1067) == 0 && countitem(1068) == 0 && countitem(1019) == 0) { + if (countitem(Tree_Of_Archer_1) == 0 && countitem(Tree_Of_Archer_2) == 0 && countitem(Tree_Of_Archer_3) == 0 && countitem(Wooden_Block) == 0) { mes "[Archer Guildsman]"; mes "Um..."; mes "Unfortunately you didn't bring any of the required items. There's nothing for me to appraise."; close; } mes "[Archer Guildsman]"; - if (countitem(1066) != 0) mes " Grade S : " + countitem(1066) + " ea, Grade: " + .@archer_item1 + " . "; - if (countitem(1067) != 0) mes " Grade A : " + countitem(1067) + " ea, Grade : " + .@archer_item2 + " . "; - if (countitem(1068) != 0) mes " Grade B : " + countitem(1068) + " ea, Grade : " + .@archer_item3 + " . "; - if (countitem(1019) != 0) mes " Grade C : " + countitem(1019) + " ea, Grade : " + .@archer_item4 + " . "; + if (countitem(Tree_Of_Archer_1) != 0) mes " Grade S : " + countitem(Tree_Of_Archer_1) + " ea, Grade: " + .@archer_item1 + " . "; + if (countitem(Tree_Of_Archer_2) != 0) mes " Grade A : " + countitem(Tree_Of_Archer_2) + " ea, Grade : " + .@archer_item2 + " . "; + if (countitem(Tree_Of_Archer_3) != 0) mes " Grade B : " + countitem(Tree_Of_Archer_3) + " ea, Grade : " + .@archer_item3 + " . "; + if (countitem(Wooden_Block) != 0) mes " Grade C : " + countitem(Wooden_Block) + " ea, Grade : " + .@archer_item4 + " . "; if (.@total_archer < 25) { mes "Total Grades: ^FF0000" + .@total_archer + "^000000 / 40"; next; @@ -196,10 +196,10 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{ next; mes "[Archer Guildsman]"; mes "I'll transfer these Trunks to our Bow Production Department. Now that you've met the requirements, let me promote you right away!"; - if (countitem(1066) != 0) delitem 1066,countitem(1066); //Tree_Of_Archer_1 - if (countitem(1067) != 0) delitem 1067,countitem(1067); //Tree_Of_Archer_2 - if (countitem(1068) != 0) delitem 1068,countitem(1068); //Tree_Of_Archer_3 - if (countitem(1019) != 0) delitem 1019,countitem(1019); //Wooden_Block + if (countitem(Tree_Of_Archer_1) != 0) delitem Tree_Of_Archer_1,countitem(Tree_Of_Archer_1); + if (countitem(Tree_Of_Archer_2) != 0) delitem Tree_Of_Archer_2,countitem(Tree_Of_Archer_2); + if (countitem(Tree_Of_Archer_3) != 0) delitem Tree_Of_Archer_3,countitem(Tree_Of_Archer_3); + if (countitem(Wooden_Block) != 0) delitem Wooden_Block,countitem(Wooden_Block); } next; callfunc "Job_Change",Job_Archer; @@ -214,8 +214,8 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{ next; mes "[Archer Guildsman]"; mes "Ah, your bow has arrived from the Bow Production Department. Here, take it! It's yours~"; - getitem 1702,1; //Bow_ - getitem 1750,.@total_archer2; //Arrow + getitem Bow_,1; + getitem Arrow,.@total_archer2; next; mes "[Archer Guildsman]"; mes "Now, off you go. Hunt with pride, knowing you were trained by one of the best!"; |