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

cherry pick from 0d27fee6f45217c07cb7abbabbca0e9f5cff3961
This commit is contained in:
Aokromes
2017-07-09 20:38:42 +02:00
parent 6a225987bd
commit 13f90c05bf
2 changed files with 4 additions and 1 deletions
@@ -0,0 +1,3 @@
--
UPDATE `creature_formations` SET `groupAI`=(`groupAI`&~0x004)|0x200 WHERE `groupAI`&0x004;
@@ -30,7 +30,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;