Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private int[] xp = {0,100,285,610,1185,2060,3385,5230,7725,10950,15125,20350,26805,34685,44110, 55295,67670,81510,97095,114435,133610,154835,178210,203835,231950,262665,296090,332490,371825,414370,
- 460245,509745,565880,628940,699405,777575,863950,959045,1063390,1177315,1301590,1436340,1582365,1740025,1909920,
- 2092420,2319145,2595795,2925190,3310475,3754600,4260850,4832305,5472105,6183740,6970480,7835955,8783870,9817695,10940960};
- public void getCurrentLevel()
- {
- for(int i=1;i<xp.length;i++)
- if((xp[i-1]<=XPNow) && XPNow<=xp[i])
- System.out.println("Charakter ist Stufe "+i);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement