Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What determines what enemies you hit?
#3
I think it's simply something like
foreach (Mob mob in Mobs.Sort(blahblah))
if (mob.InRange(blahblah))
{
mob.Hit
break;
}

which means if two mobs are in the exact same position (and that's almost never true) it's pretty much according to the order they appear in the mob list, which should be either the order they appear on the screen or it's exact opposite.
Reply


Messages In This Thread
What determines what enemies you hit? - by Kitteh - 2010-04-01, 03:55 AM
What determines what enemies you hit? - by Kortestanov - 2010-04-01, 06:41 AM
What determines what enemies you hit? - by Lugin - 2010-04-01, 11:51 AM
What determines what enemies you hit? - by Cyanne - 2010-04-01, 06:50 PM

Forum Jump:


Users browsing this thread: