Hey there!
Some may remember I started to write a combat calculator for warriors, well had a lot to do irl and had no time to work on it.
Came back and took a look at it and it's way to unaccurate for a calc. (timer inaccuracy ~50ms which results in a .5s gap on swings!)
I rewritten the whole thingie in Python which got some better timers.
Pastebin Site - Feel free to add stuff!
I didn't made any .exe or even a setup yet so unfortunately if you want to test it you have to install:
Python
wxPython
Now to my questions/problems:
- I currently lose 3 swings out of 630 due to inaccuracy (timer), is that too much? I could change some mods but it would cause the timer to run slower (realtime instead of 2x realtime)
- Looks like I get some flurry inconsistencies? (argh!), maybe someone with programming knowledge can help me? :> need to check the logfile if you want to see it, it currently just show the "virtual" time based on the swing times.
- Does the damage range of the weapons really affect the damage output that hard?
Todo:
- Impale not implemented (piece of cake! oh wait, the cake is a lie :P)
- DW Spec not implemented (another piece)
- Rage generation needs more testing before implementation
- Working on a function to use skills, currently came up with a "global cooldown timer" which checks your remaining rage and skills which are ready and uses them in a specific order, if no skill is ready then add a heroic strike to the next mh swing. Now I just need to add some AI which decides when to use HS :>
- Flurry currently works that way:
Timer event gets called
Timer stops
Swing get calculated
Crit happenz
Flurry gets true
Timer starts with the new mh speed
It seems like it's a lot of stuff in that function but it only takes a few milliseconds between the stop and the start (maybe the reason why the timer is inaccurate)
I don't know if this is the right approach to the flurry mechanic :<
But due the lack of timers which can change their remaining time while they're running, this is what I've got.
(just got a new idea while writing this part ^^)
Feel free to give feedback and critism
