mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Allow the full raidgroup to uses meetingstones, not just a single subgroup (blizzlike) - thanks to Silinoron!
--HG-- branch : trunk
This commit is contained in:
@@ -1367,8 +1367,8 @@ void GameObject::Use(Unit* user)
|
||||
|
||||
Player* targetPlayer = ObjectAccessor::FindPlayer(player->GetSelection());
|
||||
|
||||
// accept only use by player from same group for caster except caster itself
|
||||
if (!targetPlayer || targetPlayer == player || !targetPlayer->IsInSameGroupWith(player))
|
||||
// accept only use by player from same raid as caster, except caster itself
|
||||
if (!targetPlayer || targetPlayer == player || !targetPlayer->IsInSameRaidWith(player))
|
||||
return;
|
||||
|
||||
//required lvl checks!
|
||||
|
||||
Reference in New Issue
Block a user