예제 #1
0
 public override void ActivateBoss()
 {
     ex = FriendManager.Instance.GetFriend("Ex") as BossFriendEx;
     if (ex != null && ex.GetFriendState() != "END")
     {
         base.ActivateBoss();
     }
 }
예제 #2
0
 // 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;
         }
     }
 }