Core/Wintergrasp: finish implementation for battlefields. this is highly experimental enable at you're own risk. will almost definatly cause issues with the wintergrasp patch floating around
This commit is contained in:
1 parent
c428675048
commit
b9f60fe56c
17 files changed
+100
-53
No files matched your search
@@ -59,7 +59,7 @@ Loot* Roll::getLoot()
|
||||
|
||||
Group::Group() : m_leaderGuid(0), m_leaderName(""), m_groupType(GROUPTYPE_NORMAL),
|
||||
m_dungeonDifficulty(DUNGEON_DIFFICULTY_NORMAL), m_raidDifficulty(RAID_DIFFICULTY_10MAN_NORMAL),
|
||||
m_bgGroup(NULL), m_lootMethod(FREE_FOR_ALL), m_lootThreshold(ITEM_QUALITY_UNCOMMON), m_looterGuid(0),
|
||||
m_bgGroup(NULL), m_bfGroup(NULL), m_lootMethod(FREE_FOR_ALL), m_lootThreshold(ITEM_QUALITY_UNCOMMON), m_looterGuid(0),
|
||||
m_subGroupsCounts(NULL), m_guid(0), m_counter(0), m_maxEnchantingLevel(0), m_dbStoreId(0)
|
||||
{
|
||||
for (uint8 i = 0; i < TARGETICONCOUNT; ++i)
|
||||
@@ -2149,6 +2149,11 @@ bool Group::isBGGroup() const
|
||||
return m_bgGroup != NULL;
|
||||
}
|
||||
|
||||
bool Group::isBFGroup() const
|
||||
{
|
||||
return m_bfGroup != NULL;
|
||||
}
|
||||
|
||||
bool Group::IsCreated() const
|
||||
{
|
||||
return GetMembersCount() > 0;
|
||||
@@ -2250,6 +2255,11 @@ void Group::SetBattlegroundGroup(Battleground* bg)
|
||||
m_bgGroup = bg;
|
||||
}
|
||||
|
||||
void Group::SetBattlefieldGroup(Battlefield *bg)
|
||||
{
|
||||
m_bfGroup = bg;
|
||||
}
|
||||
|
||||
void Group::SetGroupMemberFlag(uint64 guid, bool apply, GroupMemberFlags flag)
|
||||
{
|
||||
// Assistants, main assistants and main tanks are only available in raid groups
|
||||
|
||||
Reference in new issue
Block a user