From 750ebe84bb822103ae755b45efab471499da4983 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 26 May 2020 23:22:19 -0300 Subject: Tolchi: No longer tweak items with options --- npc/005-4/tolchi.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'npc/005-4') diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt index d98782938..a9858e7e1 100644 --- a/npc/005-4/tolchi.txt +++ b/npc/005-4/tolchi.txt @@ -273,7 +273,13 @@ function tolchi_tweaks { next; return; } - // TODO: Aleady slotted + // Aleady slotted + if (getitemoptionidbyindex(.@id, 0) > 0) { + mesn; + mesq l("I'm won't try to improve this masterpiece. Look its options!"); + next; + return; + } // Calculate price .@lv=getiteminfo(.@handle, ITEMINFO_ELV); -- cgit v1.2.3-70-g09d2