summaryrefslogtreecommitdiff
path: root/npc/025-1/ihclot.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-13 05:18:48 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-13 05:18:48 -0300
commitd11bf1801c91b19892564ce25f4b661c57acfb3f (patch)
treea0229416c337ab0efcf06e00a50f67f6e8ec71d3 /npc/025-1/ihclot.txt
parentf5909d074f7a2b4282131a43d74fa6e130b678ad (diff)
downloadserverdata-d11bf1801c91b19892564ce25f4b661c57acfb3f.tar.gz
serverdata-d11bf1801c91b19892564ce25f4b661c57acfb3f.tar.bz2
serverdata-d11bf1801c91b19892564ce25f4b661c57acfb3f.tar.xz
serverdata-d11bf1801c91b19892564ce25f4b661c57acfb3f.zip
Ihclot, you are a NPC, not a function %%e
Diffstat (limited to 'npc/025-1/ihclot.txt')
-rw-r--r--npc/025-1/ihclot.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/025-1/ihclot.txt b/npc/025-1/ihclot.txt
index cc71ce666..13c5af8fd 100644
--- a/npc/025-1/ihclot.txt
+++ b/npc/025-1/ihclot.txt
@@ -25,7 +25,7 @@
// Request and confirm
.@id=requestitemindex();
if (!csys_Confirm(.@id))
- return false;
+ close;
// Find numeric ID
delinventorylist();
@@ -38,14 +38,14 @@
mesn;
mesq l("...What? Which item? Sorry, too much smoke around here.");
next;
- return;
+ close;
}
// Multiple
if (countitem(.@handle) != 1) {
mesn;
mesq l("Sorry, but you have multiple %s.", getitemlink(.@handle));
next;
- return;
+ close;
}
// Permission NG: (Not Granted)
if (.@lv < .minLevel) {
@@ -56,14 +56,14 @@
mesq l("Depending on the case, Nicholas, in Hurnscald, can do a better job than me.");
tutmes l("The selected item is too weak. %s will only tweak items level %d or higher.", .name$, .minLevel);
next;
- return;
+ close;
}
// Aleady slotted
if (getitemoptionidbyindex(.@id, 0) > 0) {
mesn;
mesq l("I'm not going to try to improve this masterpiece. Look its options!");
next;
- return;
+ close;
}
// Calculate price
@@ -88,7 +88,7 @@
// Ask player to confirm
if (!csys_Confirm(.@id))
- return false;
+ close false;
// Perform payment
Zeny-=getPriceInt(.@price, @menuret);