What are the best way to change attack and movement speeds with items. As of right now, my Hero's attack speed is entirely dependent on the type of item he is carrying, as well as his base movement speed can increase or decrease depending on how encumbered he is.
I am just wondering the best abilities to base these changes off of, and what the unit's initial stats should be. If there is an ability that directly adds attack speed, rather then increasing it by a percent, I could simply set his attack cool down to the lowest it will ever be, such as 10, and then subtract the necessary speed depending on what he is wearing.
Alternatively, I could base a series of speed modifiers off of Endurance Aura, which I understand stacks with itself so long as I change the buff. So I could have a AS (Attack Speed) Average, AS Fast, As Slow, AS Very Slow, AS Very Fast sort of setup, and simply attach that aura to each type of item that has that speed. The only problem would be getting the correct variables for the attack speed increase for each one, like 0.8 or 1.2 and what-not, not as precise as setting the exact value.
Same with the movement speed, Could have Encumbered Light, Medium, Heavy, Completely Auras that decrease move speed on Self by the necessary percent, as I have edited game constants to allow for slowed to 0%.
What do you think is the most viable option for this sort of endeavor?
I am just wondering the best abilities to base these changes off of, and what the unit's initial stats should be. If there is an ability that directly adds attack speed, rather then increasing it by a percent, I could simply set his attack cool down to the lowest it will ever be, such as 10, and then subtract the necessary speed depending on what he is wearing.
Alternatively, I could base a series of speed modifiers off of Endurance Aura, which I understand stacks with itself so long as I change the buff. So I could have a AS (Attack Speed) Average, AS Fast, As Slow, AS Very Slow, AS Very Fast sort of setup, and simply attach that aura to each type of item that has that speed. The only problem would be getting the correct variables for the attack speed increase for each one, like 0.8 or 1.2 and what-not, not as precise as setting the exact value.
Same with the movement speed, Could have Encumbered Light, Medium, Heavy, Completely Auras that decrease move speed on Self by the necessary percent, as I have edited game constants to allow for slowed to 0%.
What do you think is the most viable option for this sort of endeavor?