DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • April 19, 2019, 08:22:48 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Required Experience  (Read 3330 times)
0 Members and 1 Guest are viewing this topic.
Interloper
Guest
« on: July 03, 2004, 10:00:26 PM »

Okay well I've installed a few minor modifications to my lotgd now, including one that makes weapons slightly more expensive after each DK.

Anyway I have yet another simple question (  Embarrassed ) that I am hoping has a simple answer:

How would I go about making increasing the experience required to gain levels after each successive DK, and would this be a viable modification?

I nabbed the code that I used to increase item prices from sourceforge (and its even posted in one of my threads here), and it uses a simple formula that seemingly doubles the amount of gold required to purchase each item and I was hoping there would be some way to similarly alter (after each DK) the experience required to succesfully challenge your master...

 Grin
« Last Edit: July 03, 2004, 10:02:56 PM by Interloper » Logged
Kendaer
Guest
« Reply #1 on: July 04, 2004, 12:58:38 AM »

Experience per level already increases after each DK.
Logged
Interloper
Guest
« Reply #2 on: July 04, 2004, 05:12:41 AM »


Oops.  Embarrassed

Well I guess that solves my problem then.  Cheesy Roll Eyes
Logged
dvd871
Guest
« Reply #3 on: July 04, 2004, 08:43:58 PM »

The default formula was something like this:
$exprequired=((pow((($level-1)/15),3)*3+1)*100*$level);

If you have added alot of mods and things to your server that allow players to gain experience, or allow them to search/fight in other areas in addition to forest fights, then you will need to make adjustments or the players will level way too fast.

I use this formula:
$exprequired=((pow((($level-1)/7),3)*5+1)*100*$level);

That makes an exparray of:
$exparray=array(1=>200,800,1204,2024,3080,4414,6082,8170,10790,14086,18242,22940,30074,38342,48660);

That seems to work good for my server given the mods installed, etc.  You'll have to decide for yourself depending on how things are in your realm.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
84 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search