mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 05:36:23 +00:00
feat(Core/Hooks): added collection of hooks to extends AC (#3047)
This collection of hooks comes from the Maelstrom project. It allows to release modules such as : - 3v3-soloqueue - 1v1 arena - pvestats and many others
This commit is contained in:
@@ -456,7 +456,7 @@ namespace lfg
|
||||
}
|
||||
}
|
||||
|
||||
sScriptMgr->OnInitializeLockedDungeons(player, level, lockData);
|
||||
sScriptMgr->OnInitializeLockedDungeons(player, level, lockData, dungeon);
|
||||
|
||||
/* TODO VoA closed if WG is not under team control (LFG_LOCKSTATUS_RAID_LOCKED)
|
||||
lockData = LFG_LOCKSTATUS_TOO_LOW_GEAR_SCORE;
|
||||
@@ -500,6 +500,9 @@ namespace lfg
|
||||
if (grp && (grp->isBGGroup() || grp->isBFGroup()))
|
||||
return;
|
||||
|
||||
if (!sScriptMgr->CanJoinLfg(player, roles, dungeons, comment))
|
||||
return;
|
||||
|
||||
// pussywizard: can't join LFG/LFR while using LFR
|
||||
if (GetState(player->GetGUID()) == LFG_STATE_RAIDBROWSER)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user