mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(Core/SmartScripts): Fixed SMART_TARGET_OWNER_OR_SUMMONER target. (#12644)
This commit is contained in:
@@ -3187,6 +3187,10 @@ void SmartScript::GetTargets(ObjectVector& targets, SmartScriptHolder const& e,
|
|||||||
{
|
{
|
||||||
targets.push_back(owner);
|
targets.push_back(owner);
|
||||||
}
|
}
|
||||||
|
else if (me->IsSummon() && me->ToTempSummon()->GetSummonerUnit())
|
||||||
|
{
|
||||||
|
targets.push_back(me->ToTempSummon()->GetSummonerUnit());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (go)
|
else if (go)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user