summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-08 17:39:40 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-08 17:39:40 +0000
commitf77cbff9305f4d3c6dc49d870369bf0897864049 (patch)
tree43772fe62e422943239cc901f2168689b8b18d01 /src/map/pc.c
parentb5be01c5baca2d51da4ec9a138e3bb57eea7cbb4 (diff)
downloadhercules-f77cbff9305f4d3c6dc49d870369bf0897864049.tar.gz
hercules-f77cbff9305f4d3c6dc49d870369bf0897864049.tar.bz2
hercules-f77cbff9305f4d3c6dc49d870369bf0897864049.tar.xz
hercules-f77cbff9305f4d3c6dc49d870369bf0897864049.zip
- Added a new setting 'guild_skill_relog_delay' to activate the guild skills delay on Guild Master relog.
- The official setting is 'No', but this is an option for game masters. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11699 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 448a82a4e..0163c21e7 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -885,8 +885,8 @@ int pc_reg_received(struct map_session_data *sd)
{
// set the Guild Master flag
sd->state.gmaster_flag = g;
- // (optionally) block Guild Skills to prevent logout/login reuse
- //guild_block_skill(sd, 300000);
+ if( battle_config.guild_skill_relog_delay )
+ guild_block_skill(sd, 300000);
}
status_calc_pc(sd,1);