public override void ActivateBoss() { ex = FriendManager.Instance.GetFriend("Ex") as BossFriendEx; if (ex != null && ex.GetFriendState() != "END") { base.ActivateBoss(); } }
// Update is called once per frame void Update() { if (GameStateManager.Instance.GetCurrentState() == typeof(GameplayState)) { switch (ex.GetFriendState()) { // In phase one, the trio will come back when Stuart's HP dips below 7. case "FIGHT_PHASE_1": if (myETD.currentHp <= 6) { BossEvent(); } break; } } }