Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old January 19, 2015, 15:14   #1
Therem Harth
Knight
 
Therem Harth's Avatar
 
Join Date: Jan 2008
Location: https://gitlab.com/miramor
Posts: 891
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 15:14. Reason: typo!
Therem Harth is offline   Reply With Quote
Old January 19, 2015, 17:45   #2
Rydel
Apprentice
 
Join Date: Jul 2008
Posts: 85
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, 11:45   #3
PowerWyrm
Veteran
 
PowerWyrm's Avatar
 
Join Date: Apr 2008
Posts: 2,403
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.

Compare:

- 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 http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant!
PowerWyrm is offline   Reply With Quote
Old January 20, 2015, 13:09   #4
Carnivean
Knight
 
Join Date: Sep 2013
Posts: 505
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
Reply


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 11:02
simple store changes appreciated fbas Vanilla 3 November 24, 2010 20:59
Dungeon Leveling Question bob_99 AAR 4 February 22, 2010 03:39
Simple question An Fear Glas Vanilla 2 December 20, 2008 02:10
[FA] 2 simple questions Zikke Variants 12 September 26, 2008 20:52


All times are GMT +1. The time now is 12:53.


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