abdallahessam118 Posted April 29 Posted April 29 guys a quick question, i know that the x,y,cx,cy are the coords bounds but i do not know how to generate the mobs ratio properly in this example the bounds between x,y,bound x and bound y there will be 10 monsters or 25 ? what is the difference between maxnpc and max per gen ? how to generate them properly what is the formula? Quote
Konichu Posted April 29 Posted April 29 if (generator.Grid >= 1) { maxNpc = (int)((generator.BoundCx / generator.Grid) * (generator.BoundCy / generator.Grid)); if (maxNpc < 0) { maxNpc = 1; } } Grid is the `maxnpc` field. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.