fix(Core/SmartScripts): Fixed SMART_TARGET_OWNER_OR_SUMMONER target. (#12644)
This commit is contained in:
parent
dda3177d3d
commit
2a0737b557
1 changed files with 4 additions and 0 deletions
|
|
@ -3187,6 +3187,10 @@ void SmartScript::GetTargets(ObjectVector& targets, SmartScriptHolder const& e,
|
|||
{
|
||||
targets.push_back(owner);
|
||||
}
|
||||
else if (me->IsSummon() && me->ToTempSummon()->GetSummonerUnit())
|
||||
{
|
||||
targets.push_back(me->ToTempSummon()->GetSummonerUnit());
|
||||
}
|
||||
}
|
||||
else if (go)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue