コード例 #1
0
 public override void Reset()
 {
     SetCombatMovement(false);
     KillCount = 0;
     PlayerGUID.Clear();
     Summons.DespawnAll();
 }
コード例 #2
0
        public override void JustDied(Unit killer)
        {
            Talk(TextIds.SayDeath);

            instance.SetBossState(DataTypes.HeraldVolazj, EncounterState.Done);

            Summons.DespawnAll();
            ResetPlayersPhase();
        }
コード例 #3
0
        public override void Reset()
        {
            Initialize();

            instance.SetBossState(DataTypes.HeraldVolazj, EncounterState.NotStarted);
            instance.DoStopCriteriaTimer(CriteriaTimedTypes.Event, Misc.AchievQuickDemiseStartEvent);

            // Visible for all players in insanity
            me.SetInPhase(169, true, true);
            for (uint i = 173; i <= 177; ++i)
            {
                me.SetInPhase(i, true, true);
            }

            ResetPlayersPhase();

            // Cleanup
            Summons.DespawnAll();
            me.RemoveFlag(UnitFields.Flags, UnitFlags.NotSelectable);
            me.SetControlled(false, UnitState.Stunned);
        }