From 1886d63ef5986a3e613b4880dc7ae00636435e0a Mon Sep 17 00:00:00 2001 From: gumi Date: Fri, 12 Apr 2019 12:12:38 -0400 Subject: add gm automod tool --- src/map/map.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/map/map.hpp') diff --git a/src/map/map.hpp b/src/map/map.hpp index 60b3462..eddbfad 100644 --- a/src/map/map.hpp +++ b/src/map/map.hpp @@ -121,6 +121,15 @@ struct quick_regeneration unsigned char tickdelay; // number of ticks to next update }; +enum class AutoMod +{ + off = 0, + autokill, + automove, + autoblock, + autokick, +}; + struct map_session_data : block_list, SessionData { struct @@ -298,6 +307,8 @@ struct map_session_data : block_list, SessionData unsigned guild:1; } mute; + AutoMod automod; + tick_t flood_rates[0x220]; tick_t packet_flood_reset_due; int packet_flood_in; -- cgit v1.2.3-70-g09d2