mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 08:17:56 +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;
|
_canTalk = true;
|
||||||
_dying = false;
|
_dying = false;
|
||||||
_inCutscene = 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->ReplaceAllUnitFlags(UNIT_FLAG_IMMUNE_TO_PC | UNIT_FLAG_IMMUNE_TO_NPC);
|
||||||
me->SetDisableGravity(false);
|
me->SetDisableGravity(false);
|
||||||
me->SetHover(false);
|
me->SetHover(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user