summaryrefslogtreecommitdiff
path: root/npc/merchants
diff options
context:
space:
mode:
authorj-tkay <joseph.tk.ea@gmail.com>2013-07-04 05:15:48 +0800
committerj-tkay <joseph.tk.ea@gmail.com>2013-07-04 05:15:48 +0800
commit28a9fec0916db3d92629ae6e6cd62b5777b09e73 (patch)
tree4babff20dd0a68025a489f410ebf96b8c1cc09af /npc/merchants
parent8489dbf3b58d3bff70b27ea42884a14d5229430a (diff)
downloadhercules-28a9fec0916db3d92629ae6e6cd62b5777b09e73.tar.gz
hercules-28a9fec0916db3d92629ae6e6cd62b5777b09e73.tar.bz2
hercules-28a9fec0916db3d92629ae6e6cd62b5777b09e73.tar.xz
hercules-28a9fec0916db3d92629ae6e6cd62b5777b09e73.zip
Merged/Updated/Added scripts from rAthena.
- Fixed Bug #7400 Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>
Diffstat (limited to 'npc/merchants')
-rw-r--r--npc/merchants/advanced_refiner.txt15
-rw-r--r--npc/merchants/refine.txt12
2 files changed, 6 insertions, 21 deletions
diff --git a/npc/merchants/advanced_refiner.txt b/npc/merchants/advanced_refiner.txt
index eca847c6f..7b7825492 100644
--- a/npc/merchants/advanced_refiner.txt
+++ b/npc/merchants/advanced_refiner.txt
@@ -3,11 +3,11 @@
//===== By: ==================================================
//= L0ne_W0lf
//===== Current Version: =====================================
-//= 1.4a
+//= 1.4b
//===== Compatible With: =====================================
//= Hercules Git
//===== Description: =========================================
-//= [Aegis Conversion]
+//= [Official Conversion]
//= Refiner that uses Enriched ores to increase upgrade success.
//= After a conversation with Doddler, it's been established that
//= the advanced refiner works similar the the "Bubble Gum" item.
@@ -23,9 +23,10 @@
//= 1.3 Typo fixes [Yommy]
//= 1.4 Removed unnecessary dialogs [Zephyrus]
//= 1.4a Added 'disable_items' command. [Euphy]
+//= 1.4b Fixed coordinates. [Euphy]
//============================================================
-payon,174,138,0 script Suhnbi#cash 85,{
+payon,157,146,6 script Suhnbi#cash 85,{
disable_items;
mes "[Suhnbi]";
mes "I am the Armsmith";
@@ -53,12 +54,6 @@ payon,174,138,0 script Suhnbi#cash 85,{
mes "I don't think I can refine this item at all.";
close;
}
- if( !getequipisidentify(.@part) )
- {
- mes "[Suhnbi]";
- mes "This has not been identified. So, it can't be refined...";
- close;
- }
if( getequiprefinerycnt(.@part) >= 10 )
{
mes "[Suhnbi]";
@@ -158,4 +153,4 @@ S_RefineValidate:
mes "Yeah... There's no need to rush.";
mes "Take your time.";
close;
-} \ No newline at end of file
+}
diff --git a/npc/merchants/refine.txt b/npc/merchants/refine.txt
index da51dee3d..db4910d7e 100644
--- a/npc/merchants/refine.txt
+++ b/npc/merchants/refine.txt
@@ -635,16 +635,6 @@ function script refinemain {
mes "refine this item at all...";
close;
}
- //Check if the item is identified... (Don't know why this is in here... but kept it anyway)
- if(!getequipisidentify(.@part)) {
- mes "[" + getarg(0) + "]";
- mes "You can't refine this";
- mes "if you haven't appraised";
- mes "it first. Make sure your";
- mes "stuff is identified before";
- mes "I can refine it.";
- close;
- }
//Check to see if the items is already +10
if(getequiprefinerycnt(.@part) >= 10) {
mes "[" + getarg(0) + "]";
@@ -1266,4 +1256,4 @@ function script repairmain {
mes "items to repair.";
close;
}
-} \ No newline at end of file
+}