无关注释删除
parent
8e727965dd
commit
c919681cc2
|
@ -20,11 +20,6 @@ public class MathUtils {
|
|||
|
||||
private static final Random random = new Random();
|
||||
|
||||
/**
|
||||
* 权重随机
|
||||
* @param rateArray
|
||||
* @return
|
||||
*/
|
||||
|
||||
public static void main(String [] args){
|
||||
for (int i = 0 ; i <100;i++){
|
||||
|
@ -160,7 +155,6 @@ public class MathUtils {
|
|||
|
||||
}
|
||||
int rate = MathUtils.randomInt(amount);
|
||||
LOGGER.info("怪物种类rate"+String.valueOf(rate));
|
||||
amount = 0;
|
||||
for (int i = 0 ; i<array.length;i++){
|
||||
amount+=array[i][1];
|
||||
|
|
Loading…
Reference in New Issue