From c9a7408d07a054b557040581027ad72e546278f6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 27 Jun 2017 20:48:48 +0300 Subject: In npc1 in test map in cards menu show also item options. --- npc/test/npc1.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/npc/test/npc1.txt b/npc/test/npc1.txt index bb610921..aedbe634 100644 --- a/npc/test/npc1.txt +++ b/npc/test/npc1.txt @@ -262,6 +262,11 @@ L_Start: { mes "slot " + str(.@i) + " = " + str(getcardbyindex(.@item, .@i)); } + mes "item options:"; + for (.@i = 0; .@i < 5; .@i ++) + { + mes sprintf("%d: Option: %d, Value: %d", .@i, getitemoptionidbyindex(.@item, .@i), getitemoptionvaluebyindex(.@item, .@i)); + } break; case 8: removecardbyindex(.@item, 0); -- cgit v1.2.3-60-g2f50