Esempio n. 1
0
    private void ExecShadowBlast(Character player, Character target, CriticalType critical)
    {
        Debug.Log(MethodBase.GetCurrentMethod());
        bool success = ExecMagicAttack(player, target, SecondaryLogic.ShadowBlast(player), Fix.DamageSource.DarkMagic, critical);

        if (success)
        {
            target.objBuffPanel.AddBuff(prefab_Buff, Fix.SHADOW_BLAST, SecondaryLogic.ShadowBlast_Turn(player), SecondaryLogic.ShadowBlast_Value(player), 0);
            StartAnimation(target.objGroup.gameObject, Fix.SHADOW_BLAST, Fix.COLOR_NORMAL);
        }
    }