diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-16 17:20:14 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-16 17:20:14 -0200 |
commit | e76b7fdbf80b5a44bd8b537a42a2e924d23aa95c (patch) | |
tree | 55bc023029b16022b1c23015e86290219c4c1c5d /npc/003-1 | |
parent | 9dd99ca9e1c7468d2ef33e8d4828c36ad71ccbb9 (diff) | |
download | serverdata-e76b7fdbf80b5a44bd8b537a42a2e924d23aa95c.tar.gz serverdata-e76b7fdbf80b5a44bd8b537a42a2e924d23aa95c.tar.bz2 serverdata-e76b7fdbf80b5a44bd8b537a42a2e924d23aa95c.tar.xz serverdata-e76b7fdbf80b5a44bd8b537a42a2e924d23aa95c.zip |
Hasan only spams you once every 10 minutes unless you logout
Diffstat (limited to 'npc/003-1')
-rw-r--r-- | npc/003-1/hasan.txt | 5 |
1 files changed, 4 insertions, 1 deletions
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: |