private void SetNextBehaviour(FinalBossBehaviours nextBehaviour) { if (currentBehaviour != FinalBossBehaviours.Dead) { currentBehaviour = nextBehaviour; hasTransitionedIn = false; } }
// 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(); }