diff options
author | SinSloth <SinSloth@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-06-07 10:04:19 +0000 |
---|---|---|
committer | SinSloth <SinSloth@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-06-07 10:04:19 +0000 |
commit | b4983070cc672d2ebcf60664e13d42c440d688af (patch) | |
tree | 2479b4e5dc32ce82541b350059038909337d9cb5 /npc | |
parent | a58b408121deb928028fc4b19db1a064a9a2adbb (diff) | |
download | hercules-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')
-rw-r--r-- | npc/Changelog.txt | 2 | ||||
-rw-r--r-- | npc/merchants/socket_enchant.txt | 21 |
2 files changed, 16 insertions, 7 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt index 3c25a706c..f50ea8812 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -1,5 +1,7 @@ Date Added ====== +2007/06/07 + * Fixed a bug and some typos to Socket Enchant NPC. [SinSloth] 2007/06/06 * More Breeder fixes [Playtester] * Added Dandelion's Request / Morroc Invasion quest. [SinSloth] 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; |