You can modify the attack speed per agility point in the constants, but that will affect all heroes, and you'll need to detect whenever your hero acquires an attack speed increasing item, or when they are targeted by bloodlust etc...
In other words, it's pain