Exemplo n.º 1
0
    public void EndAttack()
    {
        ActorAttack.EnsureStopSecondaryMode();
        Instance.StartCombatMode();
        Instance.BackwardLeftHand();
        Instance.ForwardWeapon();
        CurrentSpellInCast = null;

        if (LoadAttackValueInstance != null)
        {
            StopCoroutine(LoadAttackValueInstance);
            LoadAttackValueInstance = null;
        }
        LoadAttackValue = 0f;

        Anim.SetBool("Attacking", false);
        Anim.SetBool("Charging", false);
        InGameMainMenuUI.Instance.StopChargingAttack();
    }