summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-09 00:25:31 -0300
committershennetsind <ind@henn.et>2013-06-09 00:25:31 -0300
commit81caf701723222ad07168017959d815fdd34535b (patch)
tree952c057ebcff99f0aacb6677c27f28cb4263895d /src/map/skill.c
parente33322f82010fbd3a588147141e74496c15e18ae (diff)
downloadhercules-81caf701723222ad07168017959d815fdd34535b.tar.gz
hercules-81caf701723222ad07168017959d815fdd34535b.tar.bz2
hercules-81caf701723222ad07168017959d815fdd34535b.tar.xz
hercules-81caf701723222ad07168017959d815fdd34535b.zip
Fixed Bug #7308
Special Thanks to kyeme, mkbu95! http://hercules.ws/board/tracker/issue-7308-guild-aura-on-ally/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 8f13591b6..4387b7de2 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -17591,6 +17591,7 @@ bool skill_parse_row_unitdb(char* split[], int columns, int current) {
else if( strcmpi(split[6],"all")==0 ) skill_db[idx].unit_target = BCT_ALL;
else if( strcmpi(split[6],"enemy")==0 ) skill_db[idx].unit_target = BCT_ENEMY;
else if( strcmpi(split[6],"self")==0 ) skill_db[idx].unit_target = BCT_SELF;
+ else if( strcmpi(split[6],"sameguild")==0 ) skill_db[idx].unit_target = BCT_GUILD|BCT_SAMEGUILD;
else if( strcmpi(split[6],"noone")==0 ) skill_db[idx].unit_target = BCT_NOONE;
else skill_db[idx].unit_target = strtol(split[6],NULL,16);