View Single Post
  #6  
Old 08-30-2014, 12:44 AM
Zaela Zaela is offline
Sarnak


Join Date: Jul 2014
Posts: 319
Default

Quote:
Originally Posted by Zaela [You must be logged in to view images. Log in or Register.]
I assume it just adds the final range from the auto attack range calc on top or something like that.
Seeming pretty consistent with that so far. Size of both mobs influences it; sizes less than 8 are all the same for the primary part of calculation, but not the abs height difference part; ranges from +16 at minimum to +75 at maximum, consistent with a dump someone was kind enough to show me and a similar "GetMeleeRange" func in the mq2 source.

Pulling out whatever math you've got in Mob::CombatRange or equiv and slapping it on top of the bow + arrow ranges (or throwing whatever, didn't test that though) should be enough for a quick fix, probably.
Reply With Quote