Attack with pull

So when we fight a boss and we get a proc for pulling the boss I know he is immune to the pull but could he at least get the damage linked to it even if the boss doesn’t move???

Since the boss is inmune to being pulled he doesnt gets that damage because he is not moving at all so he doesnt “crash” onto anything to get that damage