fix(Scripts/TheEye): increase dagger proc chance and make sure mind control only targets players (#18563)
This commit is contained in:
parent
452ca39249
commit
42c41525de
3 changed files with 5 additions and 6 deletions
|
|
@ -1159,7 +1159,10 @@ class spell_kaelthas_mind_control : public SpellScript
|
|||
void SelectTarget(std::list<WorldObject*>& targets)
|
||||
{
|
||||
if (Unit* victim = GetCaster()->GetVictim())
|
||||
{
|
||||
targets.remove_if(Acore::ObjectGUIDCheck(victim->GetGUID(), true));
|
||||
}
|
||||
targets.remove_if(Acore::ObjectTypeIdCheck(TYPEID_PLAYER, false));
|
||||
}
|
||||
|
||||
void Register() override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue