Пример #1
0
    private void ExecIceNeedle(Character player, Character target, CriticalType critical)
    {
        Debug.Log(MethodBase.GetCurrentMethod());
        bool success = ExecMagicAttack(player, target, SecondaryLogic.IceNeedle(player), Fix.DamageSource.Ice, critical);

        if (success)
        {
            target.objBuffPanel.AddBuff(prefab_Buff, Fix.ICE_NEEDLE, SecondaryLogic.IceNeedle_Turn(player), SecondaryLogic.IceNeedle_Value(player), 0);
            StartAnimation(target.objGroup.gameObject, Fix.ICE_NEEDLE, Fix.COLOR_NORMAL);
        }
    }