Exemplo n.º 1
0
 private void SetNextBehaviour(FinalBossBehaviours nextBehaviour)
 {
     if (currentBehaviour != FinalBossBehaviours.Dead)
     {
         currentBehaviour  = nextBehaviour;
         hasTransitionedIn = false;
     }
 }
Exemplo n.º 2
0
        // Could be used to aggro if lots of damage or health below half

        /*
         * private void TookDamage(int currentHealth, int maxHealth)
         * {
         *
         * }
         */

        public override void Activate(Vector3 pos, Quaternion rot)
        {
            base.Activate(pos, rot);
            ResetValues();
            IsImmortal        = true;
            currentBehaviour  = FinalBossBehaviours.Sleep;
            hasTransitionedIn = false;
            DisableAttacks();
        }