Auto-translated
I encountered this bug once when I was trying out a mod that allows saving during battles.
I haven't seen a mod that removes the attack, so it must be a rare issue.
Something similar was implemented in the WGE mod – some of the heroes have magical classes, and instead of melee attacks, they cast spells.