mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
fix(Scripts/BlackTemple): Randomize Eye Beam target position. (#20262)
* Init. * Cast enum to int. Apparently I don't have eyes.
This commit is contained in:
@@ -207,7 +207,7 @@ struct boss_illidan_stormrage : public BossAI
|
||||
_canTalk = true;
|
||||
_dying = false;
|
||||
_inCutscene = false;
|
||||
beamPosId = 0;
|
||||
beamPosId = RAND(0, int(MAX_EYE_BEAM_POS));
|
||||
me->ReplaceAllUnitFlags(UNIT_FLAG_IMMUNE_TO_PC | UNIT_FLAG_IMMUNE_TO_NPC);
|
||||
me->SetDisableGravity(false);
|
||||
me->SetHover(false);
|
||||
|
||||
Reference in New Issue
Block a user