Posted December 24, 201410 yr is there anyway to set a damage range like a min. damage and a max damage for a weapon? or a way to set a damage range for a group like Basic Range 25-40 and having weapons assigned to Basic Range randomly get a damage value from in that?
December 24, 201410 yr For a random amount of damage: Random random = new Random(); 25 + random.nextInt(16); will give a number between 25 and 45
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.