Esempio n. 1
0
    /// <summary>
    /// Called when charged spell is finished charging. Calls 'Release' to apply effects, then ends
    /// </summary>
    public virtual void ChargeComplete()
    {
        CombatLog.UseAbility($"{Caster.CharacterName} casts {AbilityName}.");

        if (onCast != null)
        {
            onCast.Emitting = true;
        }

        if (whileActive != null)
        {
            whileActive.Emitting = true;
        }

        Release();
    }