My mother has been married to my father for 3X years and has been undergoing psychological and physical abuse since day one. My father has had so many affairs with women that I have lost count and now he is 6X and wants to get married to someone. My mother has been praying devoutly and reciting ziaraat but now the situation is getting out of hands. Is it permissible to go for magic to make the husband nice to family and stop the affairs?

No it is not permissible.

Your mother needs to visit the representative of the mujtahid in your country and ask for divorce ASAP.