fix(Core/SAI): allow scripts to target the summoner of a TempSummon (#10819)
Fixes #10760 Fixes #10123
This commit is contained in:
parent
33635cbb3c
commit
624d41763a
1 changed files with 4 additions and 0 deletions
|
|
@ -3844,6 +3844,10 @@ ObjectList* SmartScript::GetTargets(SmartScriptHolder const& e, Unit* invoker /*
|
|||
{
|
||||
l->push_back(owner);
|
||||
}
|
||||
else if (me->IsSummon() && me->ToTempSummon()->GetSummonerUnit())
|
||||
{
|
||||
l->push_back(me->ToTempSummon()->GetSummonerUnit());
|
||||
}
|
||||
}
|
||||
else if (go)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue