summaryrefslogtreecommitdiff
path: root/conf/map
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2017-04-18 21:28:39 +0800
committerJedzkie <jedzkie13@rocketmail.com>2017-04-20 18:10:30 +0800
commitce66b7e6369c95923858c48711b1022644a87f90 (patch)
tree237e4c6cf66d03bb78931da51de9d86f21a8a821 /conf/map
parent5802b22439441be1914ae9024d6ce06d51c0210f (diff)
downloadhercules-ce66b7e6369c95923858c48711b1022644a87f90.tar.gz
hercules-ce66b7e6369c95923858c48711b1022644a87f90.tar.bz2
hercules-ce66b7e6369c95923858c48711b1022644a87f90.tar.xz
hercules-ce66b7e6369c95923858c48711b1022644a87f90.zip
Made prevent_logout effect on log-in optional
kRO does not prevent players from logging out after connecting to its zone servers. Credits to @secretdataz of rAthena
Diffstat (limited to 'conf/map')
-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