summaryrefslogtreecommitdiff
path: root/npc/merchants/advanced_refiner.txt
diff options
context:
space:
mode:
authormasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-17 20:39:42 +0000
committermasao87 <masao87@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-17 20:39:42 +0000
commitb3fd25f45c560fce6f1db4181f3642022d2ccb94 (patch)
tree8fff28023bc72cad46338b0dd25ad7cedbf22436 /npc/merchants/advanced_refiner.txt
parent6c343ca6bb3c64f1d8fadafe2c83c2a54d951411 (diff)
downloadhercules-b3fd25f45c560fce6f1db4181f3642022d2ccb94.tar.gz
hercules-b3fd25f45c560fce6f1db4181f3642022d2ccb94.tar.bz2
hercules-b3fd25f45c560fce6f1db4181f3642022d2ccb94.tar.xz
hercules-b3fd25f45c560fce6f1db4181f3642022d2ccb94.zip
- Added +11 and above refiner NPC.
- Added NPC to refine Oridecons / Eluniums to Cardium / Bradium. - Added downrefitem script command and updated script_commands.txt with it. - Updated refine_db.txt with probably custom values for +11 to +20 values. Source : http://ratemyserver.net/index.php?page=misc_table_refine - Some little script improvements to Suhnbi. (Enriched Elunium / Oridecon Upgrader.) * Further improvements for the refinement system and refinement NPC's will come within the next few days. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16126 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/advanced_refiner.txt')
-rw-r--r--npc/merchants/advanced_refiner.txt55
1 files changed, 23 insertions, 32 deletions
diff --git a/npc/merchants/advanced_refiner.txt b/npc/merchants/advanced_refiner.txt
index ed0124e29..5e846fd35 100644
--- a/npc/merchants/advanced_refiner.txt
+++ b/npc/merchants/advanced_refiner.txt
@@ -31,7 +31,6 @@ payon,174,138,0 script Suhnbi#cash 85,{
mes "armor and equipment, so let me";
mes "know what you want to refine.";
next;
-
setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3";
set .@menu$,"";
for( set .@i,1; .@i <= 10; set .@i,.@i+1 )
@@ -88,25 +87,23 @@ payon,174,138,0 script Suhnbi#cash 85,{
mes "It's been a while since I've made such a fine weapon. You must be happy because it has become stronger!";
close;
}
- else
- {
- mes "[Suhnbi]";
- mes "Clink! Clank! Clunk!";
- FailedRefItem .@part;
- next;
- if (rand(5) == 1)
- Emotion e_cash;
- else
- Emotion e_omg;
- mes "[Suhnbi]";
- mes "Cough!!!!";
- next;
- mes "[Suhnbi]";
- mes "Cough...Cough..";
- mes "What a shame...";
- mes "Your equipment broke during the refining process. I had told you earlier this might happen!";
- close;
+ mes "[Suhnbi]";
+ mes "Clink! Clank! Clunk!";
+ FailedRefItem .@part;
+ next;
+ if (rand(5) == 1){
+ Emotion e_cash;
+ } else {
+ Emotion e_omg;
}
+ mes "[Suhnbi]";
+ mes "Cough!!!!";
+ next;
+ mes "[Suhnbi]";
+ mes "Cough...Cough..";
+ mes "What a shame...";
+ mes "Your equipment broke during the refining process. I had told you earlier this might happen!";
+ close;
S_RefineValidate:
mes "[Suhnbi]";
@@ -150,19 +147,13 @@ S_RefineValidate:
set Zeny, Zeny - getarg(2);
return;
}
- else
- {
- mes "[Suhnbi]";
- mes "You don't seem to have enough Zeny or " + getitemname(getarg(1)) + "...";
- mes "Go get some more. I'll be here all day if you need me.";
- close;
- }
- }
- else
- {
mes "[Suhnbi]";
- mes "Yeah... There's no need to rush.";
- mes "Take your time.";
+ mes "You don't seem to have enough Zeny or " + getitemname(getarg(1)) + "...";
+ mes "Go get some more. I'll be here all day if you need me.";
close;
}
-}
+ mes "[Suhnbi]";
+ mes "Yeah... There's no need to rush.";
+ mes "Take your time.";
+ close;
+} \ No newline at end of file