mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
fix(Scripts/SerpentshrineCavern): Leotheras inner demons should only … (#17976)
fix(Scripts/SerpentshrineCavern): Leotheras inner demons should only be seen by their summoner
This commit is contained in:
@@ -272,6 +272,11 @@ struct npc_inner_demon : public ScriptedAI
|
||||
}
|
||||
}
|
||||
|
||||
bool CanBeSeen(Player const* player) override
|
||||
{
|
||||
return player && player->GetGUID() == me->GetSummonerGUID();
|
||||
}
|
||||
|
||||
bool CanReceiveDamage(Unit* attacker)
|
||||
{
|
||||
return attacker && attacker->GetGUID() == me->GetSummonerGUID();
|
||||
|
||||
Reference in New Issue
Block a user