Skip to content

Commit

Permalink
fix(scripts/HyjalSummit): Make Doomfire Spirit move away from Archimo…
Browse files Browse the repository at this point in the history
…nde at first (azerothcore#19467)

Update boss_archimonde.cpp
  • Loading branch information
Tereneckla authored and natrist committed Jul 24, 2024
1 parent 763c7b3 commit 9f3d7df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit 9f3d7df

Please sign in to comment.