summaryrefslogtreecommitdiff
path: root/npc/merchants/socket_enchant.txt
diff options
context:
space:
mode:
authorSinSloth <SinSloth@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-07 10:04:19 +0000
committerSinSloth <SinSloth@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-06-07 10:04:19 +0000
commitb4983070cc672d2ebcf60664e13d42c440d688af (patch)
tree2479b4e5dc32ce82541b350059038909337d9cb5 /npc/merchants/socket_enchant.txt
parenta58b408121deb928028fc4b19db1a064a9a2adbb (diff)
downloadhercules-b4983070cc672d2ebcf60664e13d42c440d688af.tar.gz
hercules-b4983070cc672d2ebcf60664e13d42c440d688af.tar.bz2
hercules-b4983070cc672d2ebcf60664e13d42c440d688af.tar.xz
hercules-b4983070cc672d2ebcf60664e13d42c440d688af.zip
* Fixed a bug and some typos to Socket Enchant NPC.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10709 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/socket_enchant.txt')
-rw-r--r--npc/merchants/socket_enchant.txt21
1 files changed, 14 insertions, 7 deletions
diff --git a/npc/merchants/socket_enchant.txt b/npc/merchants/socket_enchant.txt
index cebe39f30..e9ecb5dc7 100644
--- a/npc/merchants/socket_enchant.txt
+++ b/npc/merchants/socket_enchant.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= eAthena dev team
//===== Current Version: =====================================
-//= 1.1b
+//= 1.2
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -17,6 +17,7 @@
//= 1.0 Fixed ingredients check [Lupus]
//= 1.1 Updated to official. [SinSloth]
//= 1.1b Optimized/cleaned [ultramage]
+//= 1.2 Fixed some typos and a nasty bug. [SinSloth]
//============================================================
payon,140,151,5 script Seiyablem 84,{
@@ -57,7 +58,7 @@ payon,140,151,5 script Seiyablem 84,{
mes "[Seiyablem]";
mes "B Class?";
mes "Alright, this is the average equipment category.";
- mes "Please choose the weapon to wich you'd like me to try to add a Slot.";
+ mes "Please choose the weapon to which you'd like me to try to add a Slot.";
next;
switch( select( "Chain","Gladius","Gakkung Bow","Pike","Haedonggum","Lute","Wire","Waghnakh","Arbalest Bow" ) )
{
@@ -77,7 +78,7 @@ payon,140,151,5 script Seiyablem 84,{
mes "[Seiyablem]";
mes "Ooh, A Class.";
mes "This is some high risk territory!";
- mes "Alright, wich weapon would you like me to try adding a Slot?";
+ mes "Alright, which weapon would you like me to try adding a Slot?";
next;
switch( select( "Hunter Bow","Survivor's Rod(INT)","Zweihander","Flamberge","Infiltrator","Ballista","Stunner","Berserk","Claymore" ) )
{
@@ -109,7 +110,7 @@ payon,140,151,5 script Seiyablem 84,{
case 5: callfunc "Func_Socket",2,13002,13019,40,51,1000,984,5,999,10; break;
case 6: callfunc "Func_Socket",2,1135,13400,40,51,1000,984,5,999,10; break;
case 7: callfunc "Func_Socket",2,1466,1476,40,51,1000,984,5,999,10; break;
- case 8: callfunc "Func_Socket",2,1618,1619,40,51,2000,984,5,999,10; break;
+ case 8: callfunc "Func_Socket",2,1617,1618,40,51,2000,984,5,999,10; break;
}
break;
}
@@ -166,7 +167,7 @@ payon,140,151,5 script Seiyablem 84,{
mes "[Seiyablem]";
mes "Ooh, A Class.";
mes "This is some high risk territory!";
- mes "Alright, wich armor would you like me to try adding a Slot?";
+ mes "Alright, which armor would you like me to try adding a Slot?";
next;
switch( select( "Gemmed Sallet","Bucket Hat","Memory Book","Tights","Legion Plate Armor","Full Plate","Thief Clothes","Greaves","Coif","Manteau","Helm","Ninja Suit","Orc Helm","Ancient Cape","Monk Hat","Golden Gear","Brooch","Munak Hat" ) )
{
@@ -253,9 +254,15 @@ function script Func_Socket {
mes "[Seiyablem]";
mes "You want to add a Slot to a " +getitemname(getarg(1))+ "?";
if (getarg(0) == 1)
- mes "Alright, please bring me ^FF0000" +getarg(7)+ " " +getitemname(getarg(6))+ "s^000000, and my^FF0000 " +getarg(5)+",000 zeny^000000 service fee.";
+ {
+ if(getarg(5) > 999) mes "Alright, please bring me ^FF0000" +getarg(7)+ " " +getitemname(getarg(6))+ "s^000000, and my^FF0000 " +getarg(5) / 1000+",000,000 zeny^000000 service fee.";
+ else mes "Alright, please bring me ^FF0000" +getarg(7)+ " " +getitemname(getarg(6))+ "s^000000, and my^FF0000 " +getarg(5)+",000 zeny^000000 service fee.";
+ }
else if (getarg(0) == 2)
- mes "Alright, please bring me ^FF0000" +getarg(7)+ " " +getitemname(getarg(6))+ "^000000, ^FF0000" +getarg(9)+ " " +getitemname(getarg(8))+ "^000000 and my^FF0000 " +getarg(5)+",000 zeny^000000 service fee.";
+ {
+ if(getarg(5) > 999) mes "Alright, please bring me ^FF0000" +getarg(7)+ " " +getitemname(getarg(6))+ "^000000, ^FF0000" +getarg(9)+ " " +getitemname(getarg(8))+ "^000000 and my^FF0000 " +getarg(5) / 1000+",000,000 zeny^000000 service fee.";
+ else mes "Alright, please bring me ^FF0000" +getarg(7)+ " " +getitemname(getarg(6))+ "^000000, ^FF0000" +getarg(9)+ " " +getitemname(getarg(8))+ "^000000 and my^FF0000 " +getarg(5)+",000 zeny^000000 service fee.";
+ }
mes "Ah, and don't forget to bring that " +getitemname(getarg(1))+ "!";
next;