Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Level Xp Pogo LV40
public static int GetExpDiff(int level) {
if (level == 1)
{
return 0;
}
if (level == 2)
{
return 1000;
}
if (level == 3)
{
return 2000;
}
if (level == 4)
{
return 3000;
}
if (level == 5)
{
return 4000;
}
if (level == 6)
{
return 5000;
}
if (level == 7)
{
return 6000;
}
if (level == 8)
{
return 7000;
}
if (level == 9)
{
return 8000;
}
if (level == 10)
{
return 9000;
}
if (level == 11)
{
return 10000;
}
if (level == 12)
{
return 10000;
}
if (level == 13)
{
return 10000;
}
if (level == 14)
{
return 10000;
}
if (level == 15)
{
return 15000;
}
if (level == 16)
{
return 20000;
}
if (level == 17)
{
return 20000;
}
if (level == 18)
{
return 20000;
}
if (level == 19)
{
return 25000;
}
if (level == 20)
{
return 25000;
}
if (level == 21)
{
return 50000;
}
if (level == 22)
{
return 75000;
}
if (level == 23)
{
return 100000;
}
if (level == 24)
{
return 125000;
}
if (level == 25)
{
return 150000;
}
if (level == 26)
{
return 190000;
}
if (level == 27)
{
return 200000;
}
if (level == 28)
{
return 250000;
}
if (level == 29)
{
return 300000;
}
if (level == 30)
{
return 350000;
}
if (level == 31)
{
return 500000;
}
if (level == 32)
{
return 500000;
}
if (level == 33)
{
return 750000;
}
if (level == 34)
{
return 1000000;
}
if (level == 35)
{
return 1250000;
}
if (level == 36)
{
return 1500000;
}
if (level == 37)
{
return 2000000;
}
if (level == 38)
{
return 2500000;
}
if (level == 39)
{
return 2500000;
}
if (level == 40)
{
return 3500000;
}
if (level == 40)
{
return 4000000;
}
if (level == 41)
{
return 4500000;
}
return 0;
}
@Titiocb13

This comment has been minimized.

Copy link

@Titiocb13 Titiocb13 commented Mar 2, 2017

if (level == 38)
{
return 3000000;
}
if (level == 39)
{
return 5000000;
}
if (level == 40)
{
return 7000000;
}

TO DELETE if (level == 40)

TO DELETE {

TO DELETE return 4000000;

TO DELETE }

and to day there is no lvl under 40. so you can delete 41 and may be 40 too.

@Titiocb13

This comment has been minimized.

Copy link

@Titiocb13 Titiocb13 commented Mar 2, 2017

to resume :

I am lvl 37, i have to win 2 500 000 xp to up lvl 38.
I am lvl 38, i have to win 3 000 000 xp to up lvl 39.
I am lvl 39, i have to win 5 000 000 xp to up 40.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment