From 7fc0697a4a53a17941ca40488613f2774bcefa97 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 22 Aug 2013 17:11:00 -0300 Subject: Fixed Bug #7308 Special Thanks to Haruna for the fix, kyeme for the information http://hercules.ws/board/tracker/issue-7308-guild-aura-on-ally/ Closes #78 Signed-off-by: shennetsind --- src/map/battle.h | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/map/battle.h b/src/map/battle.h index f52084b41..44f6dd84f 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -57,19 +57,21 @@ typedef enum damage_lv { } damage_lv; enum e_battle_check_target { //New definitions [Skotlex] - BCT_NOONE = 0x000000, - BCT_SELF = 0x010000, - BCT_ENEMY = 0x020000, - BCT_PARTY = 0x040000, - BCT_GUILD = 0x080000, - BCT_NEUTRAL = 0x100000, - BCT_SAMEGUILD = 0x200000, // No Guild Allies - - BCT_NOGUILD = 0x170000, // This should be (~BCT_GUILD&BCT_ALL) - BCT_NOPARTY = 0x1b0000, // This should be (~BCT_PARTY&BCT_ALL) - BCT_NOENEMY = 0x1d0000, // This should be (~BCT_ENEMY&BCT_ALL) + BCT_NOONE = 0x000000, + BCT_SELF = 0x010000, + BCT_ENEMY = 0x020000, + BCT_PARTY = 0x040000, + BCT_GUILDALLY = 0x080000, // Only allies, NOT guildmates + BCT_NEUTRAL = 0x100000, + BCT_SAMEGUILD = 0x200000, // No Guild Allies + + BCT_GUILD = 0x280000, // Guild AND allies (BCT_SAMEGUILD|BCT_GUILDALLY) + + BCT_NOGUILD = 0x170000, // This should be (~BCT_GUILD&BCT_ALL) + BCT_NOPARTY = 0x3b0000, // This should be (~BCT_PARTY&BCT_ALL) + BCT_NOENEMY = 0x3d0000, // This should be (~BCT_ENEMY&BCT_ALL) - BCT_ALL = 0x1f0000, // Sum of BCT_NOONE to BCT_NEUTRAL + BCT_ALL = 0x3f0000, // Sum of BCT_NOONE to BCT_SAMEGUILD }; /** -- cgit v1.2.3-70-g09d2