help with a battle formula

Hi could someone help me? What would the formula need to be to have a character Heal all party members (EXCEPT himself) for the total of his Max Hit Points divided by the number of party members in the party currently? Not sure how to figure it out....
Target core tag on skill: <Target: All Allies But User>


<After Eval>


target.gainHp(user.mhp / $gameParty.aliveMembers());


</After Eval>

Original thread: https://forums.rpgmakerweb.com/threads/help-with-a-battle-formula.71749/