mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 21:26:23 +00:00
fix(Scripts/SSC): Script Hydross OOC event (#17804)
* fix(Scripts/SSC): Script Hydross OOC event * Update rev_1700448248255858600.sql * Update boss_hydross_the_unstable.cpp * Update rev_1700448248255858600.sql
This commit is contained in:
@@ -263,6 +263,19 @@ void WaypointMovementGenerator<Creature>::MovementInform(Creature* creature)
|
||||
AI->SummonMovementInform(creature, WAYPOINT_MOTION_TYPE, i_currentNode);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (TempSummon* tempSummon = creature->ToTempSummon())
|
||||
{
|
||||
if (Unit* owner = tempSummon->GetSummonerUnit())
|
||||
{
|
||||
if (UnitAI* AI = owner->GetAI())
|
||||
{
|
||||
AI->SummonMovementInform(creature, WAYPOINT_MOTION_TYPE, i_currentNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------//
|
||||
|
||||
Reference in New Issue
Block a user