From 5121b65cf4119fa6424249b59f11bc38ec43651d Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 3 Feb 2006 14:09:02 +0000 Subject: - Meh, the status change start switch was supposed to be minimized, not altogether removed :X (the idea is to let anything with sc_data to go through) - After a guild master change, the new gm has his guild skills blocked for 5 minutes. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5171 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/guild.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/guild.c') diff --git a/src/map/guild.c b/src/map/guild.c index 9a12b0425..47970e147 100644 --- a/src/map/guild.c +++ b/src/map/guild.c @@ -1609,6 +1609,8 @@ int guild_gm_changed(int guild_id, int pos) { clif_displaymessage(g->member[0].sd->fd, "You have become the Guild Master!"); g->member[0].sd->state.gmaster_flag = g; + //Block his skills for 5 minutes to prevent abuse. + guild_block_skill(g->member[0].sd, 300000); } return 1; } -- cgit v1.2.3-70-g09d2