Example #1
0
    public void ReleaseAttack()
    {
        Instance.StartCombatMode();

        if (LoadAttackValueInstance != null)
        {
            StopCoroutine(LoadAttackValueInstance);
            LoadAttackValueInstance = null;
        }

        InGameMainMenuUI.Instance.StopChargingAttack();
        AttackIdCounter++;
        SocketClient.Instance.SendPreformedAttack(LoadAttackValue, AttackIdCounter);

        ActivatePrimaryAbility();

        LoadAttackValue = 0f;
    }