Well it could always recalculate the parameters for each swing, that would keep it fairly accurate.
ProfitUI already has a timer window (written by mother9987), basically instead of hand configuring the timer duration you can have the mod take it from the AutoAttackCalc window and update it each time the timer reaches zero unless a spell cast is still going on as suggested by nluerdarea above. That would be a pretty trivial change to the existing UI, but of course you would like it to look a bit nicer.
You can't have it run indefinitely because that would crash the game (the game does not like infinite loops, hehe), but still long enough for any fight.
|