summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorAnnieRuru <jeankofannie2@gmail.com>2019-04-11 00:50:28 +0800
committerAnnieRuru <jeankofannie2@gmail.com>2019-04-11 00:50:28 +0800
commit797464b89910c4a04d0381a831001f4a7591ad28 (patch)
tree4cc92f83692637566d3b8bbb84204a1dcf033c9b /src/map/pc.h
parent55567b93ee5b287c632ff18327df6408f0cf4692 (diff)
downloadhercules-797464b89910c4a04d0381a831001f4a7591ad28.tar.gz
hercules-797464b89910c4a04d0381a831001f4a7591ad28.tar.bz2
hercules-797464b89910c4a04d0381a831001f4a7591ad28.tar.xz
hercules-797464b89910c4a04d0381a831001f4a7591ad28.zip
Add 3 pc variables just for the input limit ...
sd->npc_amount_min and sd->npc_amount_max to limit input range and sd->npc_input_capped_range because the documentation ask for it
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 b2069d4df..41384b484 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -273,6 +273,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]