Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-28-2008, 01:31 PM
wild8900 wild8900 is offline
Mr. Brightside
wild8900's Avatar
Join Date: Dec 2005
Posts: 418
wild8900 is an unknown quantity at this point
Send a message via MSN to wild8900
Cant figure this formula out.

So I slept through this chapter in math class (Really I did, when I looked at this pattern I KNEW I remembered it somewhere)
I need to write a experience system formula but to find the exp of the next level. Something like clientr.nextlvl=7+((clientr.level*2)+1);
Obviously thats wrong but its as close as I got...
Heres how I wanted to have it progress as you level:
NPC Code:

level1 - 7
+3
level2 - 10
+5
level3 - 15
+7
level4 - 22
+9
level5 - 31
+11
level6 - 42
+13
level7 - 55

Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:14 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.