Mobs Spawn Range!

08/03/2011 19:08 Mr_PoP#1
am doing it like this
Code:
mob.Map = gen.mapid;
mob.Location = new Location((short)(gen.bound_x + new Random().Next(0, gen.bound_cx)), (short)(gen.bound_y + new Random().Next(0, gen.bound_cy)));
but it's seems like this random is not working right it gives wrong coords is there onther way to get the right value between bound_x,bound_y and bound_cx,bound_cy?


Edit:

nvm solved!
08/04/2011 13:39 Mr_PoP#2
Quote:
Originally Posted by Cyanogen View Post
*
lol what that star for lmao?