Go Back   Angband Forums > Angband > Development

Thread Tools Display Modes
Old January 19, 2015, 16:14   #1
Therem Harth
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Simple formula instead of tables for leveling

Last I checked, Angband uses a table of base experience values for each level. For each of fifty levels, there is an entry.

There are also EXP adjustments for race, class, and current player level...

This is a kludge. Also, on the gameplay side of things, I've noticed it causes a sudden slowdown in leveling after about level 25. I think it would be a good idea to drop the table and use a simple formula. For instance, gain levels when experience exceeds player level + 1, multiplied by the sum of all experience penalties, i.e.

(p_ptr->lev + 1) * p_ptr->expfact

Testing this with a Kobold warrior, it results in slower leveling at the beginning, and faster later on. Perhaps too fast. Maybe linear isn't ideal, and instead there should be an asymptotic relationship between current level and experience required for the next one? What do you think?

Last edited by Therem Harth; January 19, 2015 at 16:14. Reason: typo!
Therem Harth is offline   Reply With Quote
Old January 19, 2015, 18:45   #2
Join Date: Jul 2008
Posts: 88
Rydel is on a distinguished road
If you have a graphing calculator handy, if you plug in all the data points, it should be able to automatically find various lines of best fit, so you should be able to get a formula rather close to the current numbers.
I'm trying to think of an analogy, and the best I can come up with is Angband is like fishing for sharks, and Sil is like hunting a bear with a pocket knife and a pair of chopsticks. It's not great. -Nick
Rydel is offline   Reply With Quote
Old January 20, 2015, 12:45   #3
PowerWyrm's Avatar
Join Date: Apr 2008
Posts: 2,826
PowerWyrm is on a distinguished road
This is impossible to do simply because the experience monsters provide changes drastically at a certain point, roughly around 2k.


- Phantom: 400 xp
- Grey wraith: 700xp
- Lorgan, Chief of the Easterlings: 1200xp

at dlvl 36 with:

- Ancient gold dragon: 6000xp
- Master lich: 10000xp
- Gorlim, Betrayer of Barahir: 7000xp

at dlvl 41.

So it would require rebalancing the whole bestiary first.
PWMAngband variant maintainer - check (or to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old January 20, 2015, 14:09   #4
Join Date: Sep 2013
Posts: 527
Carnivean is on a distinguished road
Powerwyrm, if you come up with the same result with both formula and table, then nothing needs to be rebalanced.

On the other hand, if you simplify the experience levels to a straightforward formula, then you could rebalance the XP for each monster relatively easily. Each monster dlvl would be 2*clvl value, so multiply monster XP by new clvl XP/old clvl XP where clvl = mdlvl/2. Not strictly accurate, but insignificantly different.
Carnivean is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestion: leveling spells Therem Harth Vanilla 9 April 28, 2012 12:02
simple store changes appreciated fbas Vanilla 3 November 24, 2010 21:59
Dungeon Leveling Question bob_99 AAR 4 February 22, 2010 04:39
Simple question An Fear Glas Vanilla 2 December 20, 2008 03:10
[FA] 2 simple questions Zikke Variants 12 September 26, 2008 21:52

All times are GMT +1. The time now is 00:17.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.