Veiva Posted January 27, 2015 Share Posted January 27, 2015 Hey, yet another question. How is cooldown length calculated in the tick-based combat system? I'm trying to develop a simple combat simulator to develop the most effective ability rotations in certain scenarios, but I'm not sure how long a '10 second' (for example) cooldown really is. Is it 16 or 17 ticks? Many abilities align their cooldown on multiples of ticks, but things like Snipe, Firebreath, Needle Strike... don't, so I'm not sure if they round up or down. Link to comment Share on other sites More sharing options...
Saradomin_Mage Posted January 28, 2015 Share Posted January 28, 2015 Knowing Jagex, some of them round down and some round up. Might be best to just count yourself. In real life MMO you don't get 99 smithing by making endless bronze daggers. Link to comment Share on other sites More sharing options...
Hedgehog Posted January 28, 2015 Share Posted January 28, 2015 Knowing Jagex, some of them round down and some round up. Might be best to just count yourself.Yeah, that sort of thing is up to the developer. Another option is that sometimes it's 17 ticks and sometimes it's 16, so that they average out to 10 seconds. Fun. Link to comment Share on other sites More sharing options...
Veiva Posted January 28, 2015 Author Share Posted January 28, 2015 Thanks. In my calculator, I adjusted it for the worst-case scenario which is rounding up (e.g., 5 seconds is 9 ticks, or 5.4 seconds). Doesn't affect the result too much, but it's better safe than sorry I think. Link to comment Share on other sites More sharing options...
Hedgehog Posted January 28, 2015 Share Posted January 28, 2015 Threw my ability data (most of it was gathered by Brunokiller) into this paste: http://jsbin.com/yotecaruge/1/edit?output It says that it rounds up to 17 ticks, but I'm not sure how rigorously that was tested Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now