Role determines what specific tasks a hero might be suited to in their party.
They may be there to dish out damage up close, from afar โ or perhaps they're there to soak up damage, heal allies or provide valuable buffs to the group. Depending on the quest, a party may be looking for a certain composition in order to best achieve their goals.