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:
parent
efe280815d
commit
310dd3137c
1 changed files with 5 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue