mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(scripts/HyjalSummit): Make Doomfire Spirit move away from Archimonde at first (#19467)
Update boss_archimonde.cpp
This commit is contained in:
@@ -400,7 +400,7 @@ struct boss_archimonde : public BossAI
|
||||
float angle = 2 * M_PI * rand() / RAND_MAX;
|
||||
float x = me->GetPositionX() + DOOMFIRE_OFFSET * cos(angle);
|
||||
float y = me->GetPositionY() + DOOMFIRE_OFFSET * sin(angle);
|
||||
Position spiritPosition = Position(x, y, me->GetPositionZ());
|
||||
Position spiritPosition = Position(x, y, me->GetPositionZ(), angle);
|
||||
Position doomfirePosition = Position(x, y, me->GetPositionZ());
|
||||
if (Creature* doomfireSpirit = me->SummonCreature(CREATURE_DOOMFIRE_SPIRIT, spiritPosition, TEMPSUMMON_TIMED_DESPAWN, 27000))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user