From 424938aa953e6384f59eb593d6f5f377e007a443 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 18 Aug 2006 14:26:26 +0000 Subject: - Added guild_aura (skill.conf) setting so you can specify when it works and if it works on the guild-master itself. Defaults to working all the time on everyone except GM. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8342 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index ff184fb20..33fd6eb89 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -2321,6 +2321,10 @@ int skill_guildaura_sub (struct block_list *bl, va_list ap) gid = va_arg(ap,int); if (sd->status.guild_id != gid) return 0; + + if(id == sd->bl.id && battle_config.guild_aura&16) + return 0; + strvit = va_arg(ap,int); agidex = va_arg(ap,int); -- cgit v1.2.3-60-g2f50