adjust CreatureGroups to use cmangos flags (for already-supported values, no functionality changed)

This commit is contained in:
Aokromes
2017-07-03 20:08:41 +02:00
parent ab6ea7ba04
commit bc5c799484
2 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
--
UPDATE `creature_formations` SET `groupAI`=(`groupAI`&~0x004)|0x200 WHERE `groupAI`&0x004;

View File

@@ -29,7 +29,7 @@ enum GroupAIFlags
FLAG_MEMBERS_ASSIST_LEADER = 0x00000001, // The member aggroes if the leader aggroes
FLAG_LEADER_ASSISTS_MEMBER = 0x00000002, // The leader aggroes if the member aggroes
FLAG_MEMBERS_ASSIST_MEMBER = (FLAG_MEMBERS_ASSIST_LEADER | FLAG_LEADER_ASSISTS_MEMBER), // every member will assist if any member is attacked
FLAG_IDLE_IN_FORMATION = 0x00000004, // The member will follow the leader when pathing idly
FLAG_IDLE_IN_FORMATION = 0x00000200, // The member will follow the leader when pathing idly
};
class Creature;