diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-18 14:26:26 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-18 14:26:26 +0000 |
commit | 424938aa953e6384f59eb593d6f5f377e007a443 (patch) | |
tree | f6d1c8d1c6697bfada6ebb91ec2a9439e4539ed6 /src/map/skill.c | |
parent | 67213795d8e2c020d0e7d743e98238b65b35630e (diff) | |
download | hercules-424938aa953e6384f59eb593d6f5f377e007a443.tar.gz hercules-424938aa953e6384f59eb593d6f5f377e007a443.tar.bz2 hercules-424938aa953e6384f59eb593d6f5f377e007a443.tar.xz hercules-424938aa953e6384f59eb593d6f5f377e007a443.zip |
- 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
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |