Index: src/map/battle.h
===================================================================
--- src/map/battle.h (revision 17310)
+++ src/map/battle.h (working copy)
@@ -81,10 +81,11 @@
BCT_NOPARTY = 0x1b0000, //This should be (~BCT_PARTY&BCT_ALL)
BCT_GUILD = 0x080000,
BCT_NOGUILD = 0x170000, //This should be (~BCT_GUILD&BCT_ALL)
- BCT_ALL = 0x1f0000,
+ BCT_ALL = 0x1f0001,
BCT_NOONE = 0x000000,
BCT_SELF = 0x010000,
BCT_NEUTRAL = 0x100000,
+ BCT_FACTION = 0x000001, // Complete Faction System [Lilith]
What i found...
/// Battle check target [Skotlex]
enum e_battle_check_target {
BCT_NOONE = 0x000000, /// No one
BCT_SELF = 0x010000, /// Self
BCT_ENEMY = 0x020000, /// Enemy
BCT_PARTY = 0x040000, /// Party members
BCT_GUILDALLY = 0x080000, /// Only allies, NOT guildmates
BCT_NEUTRAL = 0x100000, /// Neutral target
BCT_SAMEGUILD = 0x200000, /// Guildmates, No Guild Allies
BCT_ALL = 0x3F0000, /// All targets
BCT_GUILD = BCT_SAMEGUILD|BCT_GUILDALLY, /// Guild AND Allies (BCT_SAMEGUILD|BCT_GUILDALLY)
BCT_NOGUILD = BCT_ALL&~BCT_GUILD, /// Except guildmates
BCT_NOPARTY = BCT_ALL&~BCT_PARTY, /// Except party members
BCT_NOENEMY = BCT_ALL&~BCT_ENEMY, /// Except enemy
};
BCT_ALL = 0x3F0000, /// All targets
What to do?