summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-04-23 03:04:24 +0200
committerGitHub <noreply@github.com>2017-04-23 03:04:24 +0200
commit1bc4994db3b611dd489d6bde0a218b232ca785f5 (patch)
tree7bc40dd54c94a37994d3dc65f1bbd6e5460693c6 /conf
parenta4e270959babb7f56d7cf216f731a33695ba0adb (diff)
parentce66b7e6369c95923858c48711b1022644a87f90 (diff)
downloadhercules-1bc4994db3b611dd489d6bde0a218b232ca785f5.tar.gz
hercules-1bc4994db3b611dd489d6bde0a218b232ca785f5.tar.bz2
hercules-1bc4994db3b611dd489d6bde0a218b232ca785f5.tar.xz
hercules-1bc4994db3b611dd489d6bde0a218b232ca785f5.zip
Merge pull request #1697 from Jedzkie/9-PreventLogout
Made prevent_logout effect on log-in optional
Diffstat (limited to 'conf')
-rw-r--r--conf/map/battle/player.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf/map/battle/player.conf b/conf/map/battle/player.conf
index 39e1d9287..de8ef6f69 100644
--- a/conf/map/battle/player.conf
+++ b/conf/map/battle/player.conf
@@ -140,6 +140,15 @@ max_cart_weight: 8000
// Prevent logout of players after being hit for how long (in ms, 0 disables)?
prevent_logout: 10000
+// When should the server prevent a player from logging out? Have no effect if prevent_logout is disabled. (Note 3)
+// Official servers prevent players from logging out after attacking, casting skills, and taking damage.
+// 0 = Players can always logout
+// 1 = Prevent logout on login
+// 2 = Prevent logout after attacking
+// 4 = Prevent logout after casting skill
+// 8 = Prevent logout after being hit
+prevent_logout_trigger: 14
+
// Display the drained hp/sp values from normal attacks? (Ie: Hunter Fly card)
show_hp_sp_drain: false