Talk:Attack speed

Data doesn't match
The sentense said that "where three 10% melee attack speed bonuses actually amount to a 37.1% increase in attack speed", but in the form it's 38.8%. Please fix it, thanks. --Fireattack 18:16, 27 May 2011 (UTC)

Data source?
Please provide the data source, as the numbers do not make any sense D: Tried testing this in-game with a copper axe, but it is quite difficult because at low swing speeds you can hit three times, when a faster swing would result in only two hits registering, thus dropping total hit count... Were the numbers gotten from the source code? --The dnmr 23:58, 31 May 2011 (UTC)

Misleading
I've had a quick look through the code and this is a bit misleading. Attack speed bonuses are multiplicative so if you have a 10% attack speed bonus it reduces your attack speed to 1 * 0.9 = 0.9. If you have two 10% bonuses the result would be 1 * 0.9 * 0.9 = 0.81. I think the values in this table are taken by doing ((1/0.81)-1)*100 = 23.46%.

The attack speed mulitplier is capped out at 0.7 which gives ((1/0.7)-1)*100 = 42.86%. That's where that number comes from.

It doesn't matter at the moment because the sources of attack speed boosts are limited but it's worth noting that three 10% boosts aren't the same as two 15% boosts or a flat 30% boost.

1 * 0.9 *0.9 *0.9 = 0.729

1 * 0.85 * 0.85 = 0.7225

1 * 0.7 = 0.7

Olrad 12:00, 2 June 2011 (UTC)


 * I've edited the entry... still not exactly happy with it but I think it gives a bit more information. Olrad 16:16, 2 June 2011 (UTC)

New values
I don't know if these values for the attack speed bonus or the old ones are correct, so a reference to where (or how) they were obtained would be nice, as the result is quite different than what it was before. SilverSwift 01:07, 6 June 2011 (UTC)
 * The 0.7 cap comes directly from the code

if (this.meleeSpeed < 0.7) {         this.meleeSpeed = 0.7f; }
 * I'm going to revert the change as it is incorrect. Olrad 08:57, 6 June 2011 (UTC)
 * Thanks for clearing that up! SilverSwift 00:02, 7 June 2011 (UTC)