summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-06-01 15:55:59 +0200
committerGitHub <noreply@github.com>2019-06-01 15:55:59 +0200
commit50a0952e62fe590bddd9eb0c3d65c913b938354d (patch)
tree927872bcac19b64c6d47c96e92536efb5f7c371a /src/map/pc.h
parentc8202e1cd9eb64d07fa921d117a13eef3938a4db (diff)
parent797464b89910c4a04d0381a831001f4a7591ad28 (diff)
downloadhercules-50a0952e62fe590bddd9eb0c3d65c913b938354d.tar.gz
hercules-50a0952e62fe590bddd9eb0c3d65c913b938354d.tar.bz2
hercules-50a0952e62fe590bddd9eb0c3d65c913b938354d.tar.xz
hercules-50a0952e62fe590bddd9eb0c3d65c913b938354d.zip
Merge pull request #2375 from AnnieRuru/58-negative_input
Allow *input script command to support negative input
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 42c9d204e..7c89f7f32 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -274,6 +274,9 @@ struct map_session_data {
int npc_item_flag; //Marks the npc_id with which you can change equipments during interactions with said npc (see script command enable_itemuse)
int npc_menu; // internal variable, used in npc menu handling
int npc_amount;
+ int npc_amount_min;
+ int npc_amount_max;
+ int npc_input_capped_range;
struct script_state *st;
char npc_str[CHATBOX_SIZE]; // for passing npc input box text to script engine
int npc_timer_id; //For player attached npc timers. [Skotlex]