From e76b7fdbf80b5a44bd8b537a42a2e924d23aa95c Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Sun, 16 Dec 2018 17:20:14 -0200
Subject: Hasan only spams you once every 10 minutes unless you logout

---
 npc/003-1/hasan.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/npc/003-1/hasan.txt b/npc/003-1/hasan.txt
index ca17ae15e..e31041c38 100644
--- a/npc/003-1/hasan.txt
+++ b/npc/003-1/hasan.txt
@@ -115,7 +115,10 @@ L_Complete:
     close;
 
 L_TouchComplete:
-    npctalkonce l("Hey there, @@! Good luck killing monsters!", strcharinfo(0)), 3;
+    if (@hasan_antiflood < gettimetick(2)) {
+        npctalkonce l("Hey there, @@! Good luck killing monsters!", strcharinfo(0)), 3;
+        @hasan_antiflood=gettimetick(2)+600;
+    }
     end;
 
 L_Close:
-- 
cgit v1.2.3-70-g09d2