From d11bf1801c91b19892564ce25f4b661c57acfb3f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 13 Jan 2021 05:18:48 -0300 Subject: Ihclot, you are a NPC, not a function %%e --- npc/025-1/ihclot.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'npc/025-1/ihclot.txt') 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); -- cgit v1.2.3-60-g2f50