I'm pretty sure that attack speed isn't limited at 0.0625. The limit you're talking about is only a so-called "game loop", which represents the time it takes for the game to update events. I experimented with this in the trigger editor where I had a trigger that spawned a marine every 0.01 seconds. 6.25 marines were created every "game loop", so in theory the limit is a much smaller number, but the game will only show progress every 0.0625 seconds.
Try it for yourself. give a unit a 0.01 attack period and 100 times attack rate modifier. It will shoot exactly 16 times per game second even though the UI could possible say it has 0 cooldown. This is a huge problem most developers are not aware of resulting in buggy, imbalanced maps.
The game cannot run deterministic things in increments less than 1/16 of a game second. If your periodic trigger works under those conditions it is likely firing multiple times per deterministic frame.
(your 1.5 attack speed unit will be reduced to 0.03 sec between attacks!).
No it will not. It will max out at 0.0625 game seconds between attacks. It is not possible to attack more than once per deterministic frame (1/16 of a game second). WC3 had a much better (I think it was 30 attacks per game second or something)
Quote:
Obviously, this is gamebreaking even for normal amounts of agility (50-60) and pretty much anyone who uses behavior-based agility stats is going to run into this wall.
Has anyone toyed with this? Almost seems like triggers are a must for this one!
The reality is that you really should not be modifying attack speed. Even in WC3 it often ended up that you maxed out attack speed at +400% making any items useless. I would recommend people build around not using faster attack speed or doing so sparingly.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Try it for yourself. give a unit a 0.01 attack period and 100 times attack rate modifier. It will shoot exactly 16 times per game second even though the UI could possible say it has 0 cooldown. This is a huge problem most developers are not aware of resulting in buggy, imbalanced maps.
The game cannot run deterministic things in increments less than 1/16 of a game second. If your periodic trigger works under those conditions it is likely firing multiple times per deterministic frame.
No it will not. It will max out at 0.0625 game seconds between attacks. It is not possible to attack more than once per deterministic frame (1/16 of a game second). WC3 had a much better (I think it was 30 attacks per game second or something)
The reality is that you really should not be modifying attack speed. Even in WC3 it often ended up that you maxed out attack speed at +400% making any items useless. I would recommend people build around not using faster attack speed or doing so sparingly.