| View previous topic :: View next topic |
| Author |
Message |
Freelance Berzerker orc general

Joined: 28 Jun 2006 Posts: 805 Location: In Valhalla, currently posing as "Engels"
|
Posted: Mon Aug 07, 2006 10:47 pm Post subject: Attribute Limits |
|
|
Hi all,
Does anyone know of how the game codes for upper attribute limits for the PC and monsters? |
|
| Back to top |
|
 |
holybanana Party Chairman
Joined: 04 Jan 2005 Posts: 155 Location: Above Valpurus
|
Posted: Wed Aug 23, 2006 2:03 pm Post subject: |
|
|
Currently the maximum attribute given an exp source is proportional to the starting stat. Let's consider ommel cerumen. If you consume Amount units of volume (millilitres) of it, the following code is run:
| Code: |
EditExperience(INTELLIGENCE, 500, Amount << 5);
EditExperience(WISDOM, 500, Amount << 5); |
This means that you can increase the base stat by 500%. So for normal players with base int and wis 10 you can get int and wis 60 with cerumen. The speed you approach this maximum is proportional to the last parameter of EditExperience, i.e. Amount * 2^5 = Amount * 32. So if you consume two times as much cerumen, you approach the limit twice as fast (as it should be).
A priestess of Silva, on the other hand, has base int 20 and wis 35, so she can get int 120 and wis 210. She gets int 60 by consuming the same amount of ommel cerumen as the player needs for int 30.
I think this algorithm quite well models the differences of say, humans and cave bears. The latter are naturally five times as strong and 50% more agile as humans, so after getting the same amount of exp from some source they are still five times as strong and 50% more agile. However, it doesn't realize that the priestess of Silva's base attribute is actually very close to 10, as she's a human, and her maximums should be close to the player's maximums. She has a starting stats larger than the base stats because she has trained vehemently before the game started. This function for calculating exp is thus responsible for producing the inhuman 100+ agilities and dexterities of mistresses and such. I'm going to make some corrections to it in the next version. |
|
| Back to top |
|
 |
Freelance Berzerker orc general

Joined: 28 Jun 2006 Posts: 805 Location: In Valhalla, currently posing as "Engels"
|
Posted: Wed Aug 23, 2006 3:33 pm Post subject: |
|
|
| Thank you so much for that explanation. My curiosity has been satisfied. |
|
| Back to top |
|
 |
dalboz goblin prince

Joined: 23 Jul 2005 Posts: 490 Location: in front of the computer screen
|
Posted: Thu Aug 24, 2006 2:29 pm Post subject: |
|
|
wait, mistresses are HUMAN?  _________________ "Think like a madman" |
|
| Back to top |
|
 |
Freelance Berzerker orc general

Joined: 28 Jun 2006 Posts: 805 Location: In Valhalla, currently posing as "Engels"
|
Posted: Thu Aug 24, 2006 3:25 pm Post subject: |
|
|
| That's what the man said. |
|
| Back to top |
|
 |
dalboz goblin prince

Joined: 23 Jul 2005 Posts: 490 Location: in front of the computer screen
|
Posted: Fri Aug 25, 2006 10:09 am Post subject: |
|
|
more like superhuman if you ask me...
I guess they'll be less difficult to kill now, right? _________________ "Think like a madman" |
|
| Back to top |
|
 |
Freelance Berzerker orc general

Joined: 28 Jun 2006 Posts: 805 Location: In Valhalla, currently posing as "Engels"
|
Posted: Fri Aug 25, 2006 11:32 am Post subject: |
|
|
| I ate them for lunch as it was in the present version. |
|
| Back to top |
|
 |
|