What am I doing?

In effect, yes, the damage percentages are based on the attack stat of the hero.

But that somewhat oversimplifies how damage is calculated. If you really want to go down the rabbit hole to understand it, I highly recommend reading through this thread: