Advertisement
Sixem

.NET Runescape Level to Experience Formula

Mar 7th, 2013
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.28 KB | None | 0 0
  1. 'Written by Sixem
  2. Public Function Experience(ByVal Level As Integer)
  3.         Dim a As Long
  4.         Dim x As Integer
  5.         For x = 1 To Level - 1
  6.             a = a + Int(x + 300 * (2 ^ (x / 7)))
  7.         Next x
  8.         Experience = (a / 4)
  9.         Return Experience
  10.     End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement