// Update is called once per frame void Update() { GetCount = GetTakeDmg(); if (GetCount != 0) { MyCount -= GetCount; if (MyCount <= 0) { if (bIsWorm == false) { Boss.SpecialAttackClear = true; Boss.PlayAnim(); if (SpecialCoroutine != null) { StopCoroutine(SpecialCoroutine); } DmgCountQueue.Clear(); } else { WormBoss.SpecialAttackClear = true; WormBoss.PlayAnim(); if (SpecialCoroutine != null) { StopCoroutine(SpecialCoroutine); } DmgCountQueue.Clear(); } } } }