public static int getLevel(int exp){
        
        int level=0;
        
        while(exp>0){
            //基数为EXP_BASIC,每增加一级，累加EXP_ADD
            exp-=(level*EXP_ADD+EXP_BASIC);
            level++;
        }
        
        return level-1;
        
    }