Quote:
Originally Posted by So_1337
Another thought -- The example I've used from the start of this overflow debacle is, let's pretend you have four attacks per round. The third kills the mob, so the fourth goes to the next thing on your hate list. However, how is it that a mob so far away can be hit with a melee attack? I'm guessing that distance is only checked at the beginning of an attack round, not for each individual attack.
This is more for my own understanding than anything, but I was wanting to confirm my understanding.
|
I instrumented the code with loads of printfs to confirm the overflow to the next mob on the hate list and even saw it in the client chat window. Although I didn't specifically confirm it, I believe, like you, that the distance to the target is only checked at the beginning of the attack round, and not if the target is changed between attacks (in Mob::RemoveFromHateList ) during that round.